re PR c/11995 (Error recovery problem after invalid labelled declaration in c99 mode)
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu> PR c/11995 * gcc.dg/20031223-1.c: New test. From-SVN: r74970
This commit is contained in:
parent
c36d5c04b1
commit
4ea49dd051
@ -1,3 +1,8 @@
|
||||
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR c/11995
|
||||
* gcc.dg/20031223-1.c: New test.
|
||||
|
||||
2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* gcc.dg/noreturn-7.c: New test.
|
||||
|
11
gcc/testsuite/gcc.dg/20031223-1.c
Normal file
11
gcc/testsuite/gcc.dg/20031223-1.c
Normal file
@ -0,0 +1,11 @@
|
||||
/* PR c/11995 */
|
||||
/* The following test used to ICE after an error message
|
||||
because GCC was trying to expand the trees to rtl. */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "" } */
|
||||
|
||||
void f ()
|
||||
{
|
||||
l: int; /* { dg-error "" } */
|
||||
}
|
Loading…
Reference in New Issue
Block a user