OSDN Git Service

* c-common.c (c_common_init): Set up CPP arithmetic.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / hash2.c
1 /* Test for erroneously thinking comments are token-pastes.
2    From XFree86 4.0.  */
3 /* { dg-do preprocess } */
4 /* { dg-options "-traditional" } */
5
6 #ifndef foo
7 #define foo     /**/
8 #endif
9
10 #ifndef foo
11 #define foo     /* as nothing */
12 #endif
13
14 /* { dg-bogus "(start|end) of macro" "paste at end" { target *-*-* } 7 } */
15 /* { dg-bogus "(start|end) of macro" "comment at end" { target *-*-* } 11 } */