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

📄 if-2.c

📁 linux下的gcc编译器
💻 C
字号:
/* { dg-do preprocess } *//* { dg-options -pedantic-errors } */#if 'a' != 'a' || '\001' != 1 || '\x12' != 0x12#error a,1,0x12 /* { dg-bogus "#error" "basic charconst recognition" } */#endif#if 'a' != L'a'#error L'a'	/* { dg-bogus "error" "wide charconst recognition 1" } */#endif#if L'\xfeed' != 0xfeed && L'\xfeed' != (0xfeed - 0x10000)#error 0xfeed	/* { dg-bogus "error" "wide charconst recognition 2" } */#endif#if L'\x1234' != 0x1234#error 0x1234	/* { dg-bogus "error" "wide charconst recognition 3" } */#endif#if 'abcd' /* { dg-warning "multi-character character constant" "multi-character charconst" } */#endif#if 'abcdefghi' /* { dg-error "character constant (is )?too long" "charconst too long" } */#endif#if '' /* { dg-error "empty character constant" "empty charconst" } */#endif

⌨️ 快捷键说明

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