view gcc/testsuite/gcc.dg/cpp/trad/xwin1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900 (2020-05-25)
parents 04ced10e8804
children
line wrap: on
line source
/* 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" } } */