aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c
new file mode 100644
index 000000000..3d6c82fc8
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/c90-pedantic.c
@@ -0,0 +1,10 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc. */
+
+/* { dg-do preprocess } */
+/* { dg-options "-std=c90 -pedantic" } */
+
+/* This file is for testing the preprocessor in -std=c90 -pedantic mode.
+ Neil Booth, 2 Dec 2000. */
+
+#if 1LL /* { dg-warning "long long" } */
+#endif