diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-04 22:51:59 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-04 22:51:59 +0000 |
commit | 6d56f87c2264a5e4f6255da2d7272223b8496736 (patch) | |
tree | f9d03b298c53a0087cc8c71ef6c0bb158440ac18 /gcc/testsuite/gcc.dg/cpp/endif.c | |
parent | 723e8d057a6ad527021a951d9a049c692f130c9f (diff) | |
download | gcc-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/endif.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/endif.c | 15 |
1 files changed, 0 insertions, 15 deletions
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" } */ |