aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22458-1.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2005-08-08 07:38:30 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-08-08 07:38:30 +0000
commit7a7c5ab01aa6526282261bac51e9983c503e35d1 (patch)
treed4c8dfc10b27b2646c5accf7b775062d8fa0569b /gcc/testsuite/gcc.dg/pr22458-1.c
parenta5ad72692370eb380e18bb54713910ed2d4a691f (diff)
downloadgcc-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.c4
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__;