diff options
author | Richard Sandiford <richard@codesourcery.com> | 2005-08-08 07:38:30 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-08-08 07:38:30 +0000 |
commit | 7a7c5ab01aa6526282261bac51e9983c503e35d1 (patch) | |
tree | d4c8dfc10b27b2646c5accf7b775062d8fa0569b /gcc/testsuite/gcc.dg/pr22458-1.c | |
parent | a5ad72692370eb380e18bb54713910ed2d4a691f (diff) | |
download | gcc-7a7c5ab01aa6526282261bac51e9983c503e35d1.zip gcc-7a7c5ab01aa6526282261bac51e9983c503e35d1.tar.gz gcc-7a7c5ab01aa6526282261bac51e9983c503e35d1.tar.bz2 |
re PR c/22458 (ICE on missing brace)
PR c/22458
* gcc.dg/pr22458-1.c: New test.
From-SVN: r102845
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr22458-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr22458-1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr22458-1.c b/gcc/testsuite/gcc.dg/pr22458-1.c new file mode 100644 index 0000000..8b8032c --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr22458-1.c @@ -0,0 +1,4 @@ +/* { dg-error "expected declaration or statement" "" { target *-*-* } 0 } */ +void foo() +{ + __PRETTY_FUNCTION__; |