funlike.c

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

C
26
字号
/* Test that undefined names evaluate to zero, that macros after a   funlike macro are expanded, and that if it is a '(' the funlike   macro is not treated as such.  *//* { dg-do preprocess } */#define f(x) x#define h != 0#define i#define paren (#if f != 0# error		/* { dg-bogus "error" "undefined name" } */#endif#if f h# error		/* { dg-bogus "error" "h not expanded" } */#endif#if f i# error		/* { dg-bogus "error" "empty macro" } */#endif#if f paren 6) /* { dg-error "missing binary" "macro-expanded parenthesis" } */#endif

⌨️ 快捷键说明

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