⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 template18.c

📁 linux下的gcc编译器
💻 C
字号:
// GROUPS passed templates// Bug: g++ emits template instances when it shouldn't.// Special g++ Options: -g -fno-inline -Wno-deprecated -fexternal-templates// We mark this XFAIL because we can't test for expected linker errors.// If we get an XPASS for this testcase, that's a bug.// Suppressed-instantiation tests like this are known to break on// Cygwin, because of the MULTIPLE_SYMBOL_SPACES stuff.  This is OK.// (OK) excess errors test - XFAIL *-*-*#pragma implementation "irrelevant_file"#line 1 "template18.h"#pragma interfacetemplate <class T> inline T min (T a, T b) { return a<b?a:b; }#line 13 "template18.C"main(){  min (1, 1); 		// should produce an undefined symbol error.}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -