]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Mon, 21 Mar 2005 15:34:56 +0000 (15:34 +0000)
committerNo Author <no-author@gcc.gnu.org>
Mon, 21 Mar 2005 15:34:56 +0000 (15:34 +0000)
'gcc-3_4-branch'.

From-SVN: r96805

gcc/testsuite/g++.dg/ext/stmtexpr4.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/ext/stmtexpr4.C b/gcc/testsuite/g++.dg/ext/stmtexpr4.C
new file mode 100644 (file)
index 0000000..a37c33a
--- /dev/null
@@ -0,0 +1,8 @@
+// PR c++/20147
+// { dg-do compile }
+// { dg-options "" }
+
+void foo()
+{
+  ({x;}); // { dg-error "was not declared" }
+}