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:
Zack Weinberg 1999-02-28 15:03:13 +00:00 committed by Zack Weinberg
parent 9b0bdc3c9e
commit 5762f506e7
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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;