summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 22:51:59 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 22:51:59 +0000
commit6d56f87c2264a5e4f6255da2d7272223b8496736 (patch)
treef9d03b298c53a0087cc8c71ef6c0bb158440ac18 /gcc/testsuite/gcc.dg/cpp
parent723e8d057a6ad527021a951d9a049c692f130c9f (diff)
downloadgcc-6d56f87c2264a5e4f6255da2d7272223b8496736.tar.gz
* g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
* g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here. * gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into... * gcc.dg/cpp/extratokens.c: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38013 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/19960224-2.c6
-rw-r--r--gcc/testsuite/gcc.dg/cpp/endif.c15
-rw-r--r--gcc/testsuite/gcc.dg/cpp/if-6.c3
3 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/19960224-2.c b/gcc/testsuite/gcc.dg/cpp/19960224-2.c
deleted file mode 100644
index 799382c8f06..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/19960224-2.c
+++ /dev/null
@@ -1,6 +0,0 @@
-/* { dg-do preprocess } */
-
-#if 0
-#if 0
-#endif / /* { dg-warning "extra tokens" "extra tokens after #endif" } */
-#endif
diff --git a/gcc/testsuite/gcc.dg/cpp/endif.c b/gcc/testsuite/gcc.dg/cpp/endif.c
deleted file mode 100644
index e6fd4b9f102..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/endif.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* { dg-do preprocess } */
-/* { dg-options "-pedantic -Wall" } */
-
-/* You can't get away with this in your own code... */
-#ifdef KERNEL
-#define foo
-#endif KERNEL /* { dg-warning "extra tokens" "good warning" } */
-
-/* This will provoke a warning because the '3' is an extension. */
-#line 10 "endif-label.c" 3 /* { dg-warning "extra tokens" "#line extension" } */
-
-/* ... but in a system header, it's acceptable. */
-#ifdef KERNEL
-#define foo
-#endif KERNEL /* { dg-bogus "extra tokens" "bad warning" } */
diff --git a/gcc/testsuite/gcc.dg/cpp/if-6.c b/gcc/testsuite/gcc.dg/cpp/if-6.c
deleted file mode 100644
index 1f23d2c67aa..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/if-6.c
+++ /dev/null
@@ -1,3 +0,0 @@
-/* { dg-do preprocess } */
-#ifdef foo bar /* { dg-error "extra tokens" "tokens after #ifdef" } */
-#endif