OSDN Git Service

testsuite:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / maccom3.c
1 /* { dg-do preprocess } */
2 /* { dg-options "-CC" } */
3
4 /* This tests to make sure that comments in the definition of a macro
5    parameter list are ignored when the -CC option is used.
6
7    Jason R. Thorpe, 6 Apr 2002  */
8
9 #define def(x /**/, y) passed
10
11 def(x,y)
12
13 /*
14    { dg-final { if ![file exists maccom3.i] { return }                     } }
15    { dg-final { if { [grep maccom3.i "^passed"] != "" } { return }         } }
16    { dg-final { fail "maccom3.c: comment in macro parameter list with -CC" } }
17 */