OSDN Git Service

PR c/22458
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Aug 2005 07:38:30 +0000 (07:38 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Aug 2005 07:38:30 +0000 (07:38 +0000)
* gcc.dg/pr22458-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102845 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr22458-1.c [new file with mode: 0644]

index 42a216a..7005b82 100644 (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>
 
diff --git a/gcc/testsuite/gcc.dg/pr22458-1.c b/gcc/testsuite/gcc.dg/pr22458-1.c
new file mode 100644 (file)
index 0000000..8b8032c
--- /dev/null
@@ -0,0 +1,4 @@
+/* { dg-error "expected declaration or statement" "" { target *-*-* } 0 } */
+void foo()
+{
+     __PRETTY_FUNCTION__;