Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / cpp / trad / paste.c
blob9b83fd30f4ea5b2a2f1ed0f4100babe8f1479017
1 /* Test for proper comment elimination semantics from cpplib's -traditional.
2 This should compile and link with compiled with `gcc -traditional-cpp'.
3 Test case by Jason R. Thorpe <thorpej@zembu.com>. */
5 /* { dg-do compile } */
7 extern int printf (const char *, ...);
9 #define A(name) X/**/name
11 #define B(name) \
12 void A(Y/**/name)() { A(name)(); }
14 void Xhello() { printf("hello world\n"); }
16 B(hello)
18 int main() { XYhello(); return (0); }