annotate gcc/testsuite/gcc.dg/cpp/trad/maccom3.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 that comments in the definition of a macro
kono
parents:
diff changeset
5 parameter list are ignored when the -CC option is used.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 Jason R. Thorpe, 6 Apr 2002 */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 #define def(x /**/, y) passed
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 def(x,y)
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 /* { dg-final { scan-file maccom3.i "(^|\n)passed" } } */