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