maccom6.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 25 行

C
25
字号
/* { dg-do preprocess } *//* { dg-options "-CC" } *//* This tests to make sure that expressions function properly   when used with macros containing comments and the -CC option   is being used.   Jason R. Thorpe, 6 Apr 2002  */#define ONE   1 /* one */#define TWO   2 /* two */#define THREE 3 /* three */#if (ONE + TWO) != THREEfailed#elsepassed#endif/*   { dg-final { if ![file exists maccom6.i] { return }                    } }   { dg-final { if { [grep maccom6.i "^passed"] != "" } { return }        } }   { dg-final { fail "maccom6.c: comments in macro expressions with -CC"  } }*/

⌨️ 快捷键说明

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