Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / cmdlne-P.c
blob117c0efc1475ec86bc8a627ad594adf517e79640
1 /* Copyright (C) 2000 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 { if ![file exists cmdlne-P.i] { return } } }
12 { dg-final { if { [grep cmdlne-P.i "^int x = 1;$"] != "" } { return } } }
13 { dg-final { fail "cmdlne-P.c: stair-stepping with -P" } } */