c++98-pedantic.C: Moved to g++.dg/cpp.
authorAndreas Jaeger <aj@suse.de>
Sun, 6 Oct 2002 19:35:34 +0000 (21:35 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Sun, 6 Oct 2002 19:35:34 +0000 (21:35 +0200)
* gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp.
* gcc.dg/cpp/c++98.C: Likewise.

* g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here.
* g++.dg/cpp/c++98.C: Likewise.

* g++.dg/README (Subdirectories): Mention cpp directory.

From-SVN: r57868

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/README
gcc/testsuite/g++.dg/cpp/c++98-pedantic.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp/c++98.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C [deleted file]
gcc/testsuite/gcc.dg/cpp/c++98.C [deleted file]

index 32dded375efafb6503c7bb6a793369d9982f1bbc..324b3e6622f5010ab00267ff16cc7db1b2779c6f 100644 (file)
@@ -1,5 +1,13 @@
 2002-10-06  Andreas Jaeger  <aj@suse.de>
 
+       * gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp.
+       * gcc.dg/cpp/c++98.C: Likewise.
+
+       * g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here.
+       * g++.dg/cpp/c++98.C: Likewise.
+
+       * g++.dg/README (Subdirectories): Mention cpp directory.
+
        PR target/7559
        * gcc.dg/20021006-1.c: New test.
 
index 073913f2056c5a19697a546e02aaa0a8fe57c131..b2a36fdf96914b73592957997709f12663dc6dd4 100644 (file)
@@ -1,6 +1,7 @@
 Subdirectories:
 
 abi     Tests for ABI compatibility -- mangling, object layout, etc.
+cpp     Tests for the preprocessor.
 eh      Tests for exception handling.
 expr     Tests for expressions.
 ext     Tests for GNU language extensions.
diff --git a/gcc/testsuite/g++.dg/cpp/c++98-pedantic.C b/gcc/testsuite/g++.dg/cpp/c++98-pedantic.C
new file mode 100644 (file)
index 0000000..61e13c5
--- /dev/null
@@ -0,0 +1,10 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc.  */
+
+/* { dg-do preprocess } */
+/* { dg-options "-std=c++98 -pedantic" } */
+
+/* This file is for testing the preprocessor in -std=c++98 -pedantic mode.
+   Neil Booth, 2 Dec 2000.  */
+
+#if 1LL                                /* { dg-warning "long long" } */
+#endif
diff --git a/gcc/testsuite/g++.dg/cpp/c++98.C b/gcc/testsuite/g++.dg/cpp/c++98.C
new file mode 100644 (file)
index 0000000..0ec4f35
--- /dev/null
@@ -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
diff --git a/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C b/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C
deleted file mode 100644 (file)
index 61e13c5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.  */
-
-/* { dg-do preprocess } */
-/* { dg-options "-std=c++98 -pedantic" } */
-
-/* This file is for testing the preprocessor in -std=c++98 -pedantic mode.
-   Neil Booth, 2 Dec 2000.  */
-
-#if 1LL                                /* { dg-warning "long long" } */
-#endif
diff --git a/gcc/testsuite/gcc.dg/cpp/c++98.C b/gcc/testsuite/gcc.dg/cpp/c++98.C
deleted file mode 100644 (file)
index 0ec4f35..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/* 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