FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / maccom1.c
blob7660dff2acb58e050515caccf57d34e82a4dc064
1 /* { dg-do preprocess } */
2 /* { dg-options "-CC" } */
4 /* This tests to make sure that comments are ignored between # and the
5 directive name when the -CC option is used.
7 Jason R. Thorpe, 6 Apr 2002 */
9 #/**/define def passed
11 def
14 { dg-final { if ![file exists maccom1.i] { return } } }
15 { dg-final { if { [grep maccom1.i "^passed"] != "" } { return } } }
16 { dg-final { fail "maccom1.c: comment between # and directive name with -CC" } }