diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c new file mode 100644 index 000000000..fd608e1d4 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c @@ -0,0 +1,5 @@ +/* { dg-do preprocess } */ +/* { dg-options "-nostdinc -P -dU" } */ +/* { dg-options "-nostdinc -P -dU -std=c89" { target *-*-solaris2.* } } */ +/* { dg-final { scan-file cmdlne-dU-17.i "^\n*1\n+#define __STDC__ 1\n*$" } } */ +__STDC__ |