Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/paste6.c

raw
1 /* Regression test for paste appearing at the beginning of a set of
2 actual arguments. Original bug exposed by Linux kernel. Problem
3 reported by Jakub Jelinek <[email protected]>. */
4
5 /*
6 { dg-options "-ftrack-macro-expansion=0" }
7 { dg-do compile }
8 */
9
10 extern int foo(int x);
11
12 #define bar(x) foo(x)
13 #define baz(x) bar(##x)
14
15 int quux(int y) { return baz(y); } /* { dg-error "valid preprocessing" } */