summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/xwin1.c
blob: 21220d1db683ed8a2b18c500687068f69a6f3ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* XWindows (as of 4.3) does some pretty strange things with cpp.
   This tests one of them; the leading comments are supposed to be
   eaten by the preprocessor; but the 'directives' after them are
   supposed to be retained as text, not processed, so that imake's cpp
   can be run on the output!
   { dg-do preprocess }
*/

/**/#if 0
passed
/**/#endif

/* { dg-final { scan-file xwin1.i "(^|\n)#if 0" } } */