]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Wed, 12 Oct 2005 13:45:08 +0000 (13:45 +0000)
committerNo Author <no-author@gcc.gnu.org>
Wed, 12 Oct 2005 13:45:08 +0000 (13:45 +0000)
'gcc-3_4-branch'.

From-SVN: r105302

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

diff --git a/gcc/testsuite/g++.dg/ext/label5.C b/gcc/testsuite/g++.dg/ext/label5.C
new file mode 100644 (file)
index 0000000..0032b0f
--- /dev/null
@@ -0,0 +1,7 @@
+// { dg-options "" }
+// PR c++/24052
+
+struct A { };
+int main() { b: A() && && b; } // { dg-error "A\\(\\) && && *b" }
+
+// { dg-error "candidate" "additional" { target *-*-* } 5 }