annotate gcc/testsuite/gcc.dg/cpp/trad/maccom4.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do preprocess } */
kono
parents:
diff changeset
2 /* { dg-options "-CC -traditional-cpp" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 /* This tests to make sure the comment is saved in the macro and copied
kono
parents:
diff changeset
5 to the output file when the macro is expanded when the -CC option is
kono
parents:
diff changeset
6 used.
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 Jason R. Thorpe, 6 Apr 2002 */
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 #define def /* passed */
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 def
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 /*
kono
parents:
diff changeset
15 /* The + in the regexp prevents it from matching itself. */
kono
parents:
diff changeset
16 { dg-final { scan-file maccom4.i "p+assed" } }
kono
parents:
diff changeset
17 */