Debian Codegraph @

gcc/testsuite/c-c++-common/cpp/line-2.c

raw
1 int line1;
2 int f = bob;
3 int bill(1);
4 int line4;
5
6 // { dg-do preprocess }
7 // { dg-options "-dD -include $srcdir/c-c++-common/cpp/line-2.h -nostdinc" }
8
9 // { dg-regexp {In file included from <command-line>:\n[^\n]*/line-2.h:4:2: error: #error wrong\n} }
10
11 // { dg-regexp {[^\n]*/line-2.c:3:11: error: macro 'bill' passed 1 arguments, but takes just 0\n[^\n]*/line-2.h:3:9: note: macro 'bill' defined here\n} }