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