Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* { dg-do preprocess } */ |
2 /* { dg-options "-CC -traditional-cpp" } */ | |
3 | |
4 /* This tests to make sure the comment is saved in the macro and copied | |
5 to the output file when the macro is expanded when the -CC option is | |
6 used. | |
7 | |
8 Jason R. Thorpe, 6 Apr 2002 */ | |
9 | |
10 #define def /* passed */ | |
11 | |
12 def | |
13 | |
14 /* | |
15 /* The + in the regexp prevents it from matching itself. */ | |
16 { dg-final { scan-file maccom4.i "p+assed" } } | |
17 */ |