instan1.C, instan2.C: Move to...
* 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. From-SVN: r38013
This commit is contained in:
parent
bb0067f231
commit
b6972575d4
@ -1,3 +1,10 @@
|
||||
2000-12-04 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* 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.
|
||||
|
||||
2000-12-04 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
|
||||
|
@ -1,6 +0,0 @@
|
||||
/* { dg-do preprocess } */
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
#endif / /* { dg-warning "extra tokens" "extra tokens after #endif" } */
|
||||
#endif
|
@ -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" } */
|
@ -1,3 +0,0 @@
|
||||
/* { dg-do preprocess } */
|
||||
#ifdef foo bar /* { dg-error "extra tokens" "tokens after #ifdef" } */
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user