2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / cmdlne-P.c
blobfaadf9fbf79c83c79cb95793076cddebc597a91a
1 /* Copyright (C) 2000, 2003 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
4 /* { dg-options "-P" } */
6 /* Test that we don't stair-step output with -P. Source: Neil Booth,
7 18 Dec 2000. */
9 int x = 1;
11 /* { dg-final { scan-file cmdlne-P.i "(^|\n)int x = 1;($|\n)" } } */