annotate gcc/testsuite/gcc.dg/cpp/trad/xwin1.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 /* XWindows (as of 4.3) does some pretty strange things with cpp.
kono
parents:
diff changeset
2 This tests one of them; the leading comments are supposed to be
kono
parents:
diff changeset
3 eaten by the preprocessor; but the 'directives' after them are
kono
parents:
diff changeset
4 supposed to be retained as text, not processed, so that imake's cpp
kono
parents:
diff changeset
5 can be run on the output!
kono
parents:
diff changeset
6 { dg-do preprocess }
kono
parents:
diff changeset
7 */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 /**/#if 0
kono
parents:
diff changeset
10 passed
kono
parents:
diff changeset
11 /**/#endif
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 /* { dg-final { scan-file xwin1.i "(^|\n)#if 0" } } */