re PR c/22458 (ICE on missing brace)

PR c/22458
	* gcc.dg/pr22458-1.c: New test.

From-SVN: r102845
This commit is contained in:
Richard Sandiford 2005-08-08 07:38:30 +00:00 committed by Richard Sandiford
parent a5ad726923
commit 7a7c5ab01a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-08-08 Richard Sandiford <richard@codesourcery.com>
PR c/22458
* gcc.dg/pr22458-1.c: New test.
2005-08-07 Janne Blomqvist <jblomqvi@cc.hut.fi>
Steven G. Kargl <kargls@comcast.net>

View File

@ -0,0 +1,4 @@
/* { dg-error "expected declaration or statement" "" { target *-*-* } 0 } */
void foo()
{
__PRETTY_FUNCTION__;