gcc/testsuite/gcc.dg/cpp/cmdlne-P.c
raw| 1 | /* Copyright (C) 2000, 2003 Free Software Foundation, Inc. */ |
| 2 | |
| 3 | /* { dg-do preprocess } */ |
| 4 | /* { dg-options "-P" } */ |
| 5 | |
| 6 | /* Test that we don't stair-step output with -P. Source: Neil Booth, |
| 7 | 18 Dec 2000. */ |
| 8 | |
| 9 | int x = 1; |
| 10 | |
| 11 | /* { dg-final { scan-file cmdlne-P.i "(^|\n)int x = 1;($|\n)" } } */ |