990119-1.c: Renamed to...
1999-02-28 17:59 -0500 Zack Weinberg <zack@rabi.columbia.edu> * gcc.c-torture/execute/990119-1.c: Renamed to... * gcc.dg/990119-1.c: this, so it will only be tested once (it's a preprocessor test, it doesn't need to be run at multiple optimization levels). From-SVN: r25506
This commit is contained in:
parent
9b0bdc3c9e
commit
5762f506e7
@ -1,3 +1,10 @@
|
|||||||
|
1999-02-28 17:59 -0500 Zack Weinberg <zack@rabi.columbia.edu>
|
||||||
|
|
||||||
|
* gcc.c-torture/execute/990119-1.c: Renamed to...
|
||||||
|
* gcc.dg/990119-1.c: this, so it will only be tested once
|
||||||
|
(it's a preprocessor test, it doesn't need to be run at
|
||||||
|
multiple optimization levels).
|
||||||
|
|
||||||
1999-02-27 13:34 -0500 Zack Weinberg <zack@rabi.columbia.edu>
|
1999-02-27 13:34 -0500 Zack Weinberg <zack@rabi.columbia.edu>
|
||||||
|
|
||||||
* lib/g++.exp: Don't add incdir=$base_dir/../include to
|
* lib/g++.exp: Don't add incdir=$base_dir/../include to
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
/* This checks for two things:
|
/* This checks for two things:
|
||||||
- an obscure corner case in the standard rules for __LINE__
|
- an obscure corner case in the standard rules for __LINE__
|
||||||
- regression of an associated bug in cpplib where the semicolon got lost */
|
- regression of an associated bug in cpplib where the semicolon got lost */
|
||||||
|
/* { dg-do run } */
|
||||||
|
|
||||||
int i = __LINE__\
|
int i = __LINE__\
|
||||||
;
|
;
|
||||||
|
|
||||||
int main (void)
|
int main (void) /* { dg-bogus "parse error" "semicolon eaten" } */
|
||||||
{
|
{
|
||||||
if (i != 4)
|
if (i != 6)
|
||||||
abort();
|
abort();
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
Loading…
Reference in New Issue
Block a user