2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / paste6.c
blob6b6733c4e9d8edb2d97d43d7ae355543540cda82
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 <jakub@redhat.com>. */
5 /* { dg-do compile } */
7 extern int foo(int x);
9 #define bar(x) foo(x)
10 #define baz(x) bar(##x)
12 int quux(int y) { return baz(y); } /* { dg-warning "valid preprocessing" } */