aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-12-02 10:16:01 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-02 10:16:01 +0000
commit692344cfed8b78fc1e636b77145ed12a03400e01 (patch)
treec488bf0f324f7df4ffb0aa29c9cd0ff19dc9cee3 /gcc/testsuite/gcc.dg/cpp/c94-pedantic.c
parentfef1de5d11978712e2e74c0d8d057d1c7e05bbfa (diff)
downloadgcc-692344cfed8b78fc1e636b77145ed12a03400e01.zip
gcc-692344cfed8b78fc1e636b77145ed12a03400e01.tar.gz
gcc-692344cfed8b78fc1e636b77145ed12a03400e01.tar.bz2
c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c, [...]: New tests.
* gcc.dg/testsuite/c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c, c94.c,c94-pedantic.c,c99.c,c99-pedantic.c,gnuc89.c,gnuc89-pedantic.c, gnuc99.c,gnuc99-pedantic.c: New tests. From-SVN: r37948
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/c94-pedantic.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/c94-pedantic.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c b/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c
new file mode 100644
index 0000000..589d23c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c
@@ -0,0 +1,10 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc. */
+
+/* { dg-do preprocess } */
+/* { dg-options "-std=iso9899:199409 -pedantic" } */
+
+/* This file is for testing the preprocessor in -std=iso9899:199409
+ -pedantic mode. Neil Booth, 2 Dec 2000. */
+
+#if 1LL /* { dg-warning "too many" } */
+#endif