]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Sat, 7 Dec 2002 18:47:55 +0000 (18:47 +0000)
committerNo Author <no-author@gcc.gnu.org>
Sat, 7 Dec 2002 18:47:55 +0000 (18:47 +0000)
'gcc-3_2-branch'.

From-SVN: r59922

gcc/testsuite/g++.dg/parse/parameter-declaration-1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/parse/parameter-declaration-1.C b/gcc/testsuite/g++.dg/parse/parameter-declaration-1.C
new file mode 100644 (file)
index 0000000..28949d8
--- /dev/null
@@ -0,0 +1,6 @@
+// Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net>
+// Origin: Robert Schiele; PR C++/8799
+// { dg-do compile }
+
+struct {
+   a(void = 0; a(0), a(0)                 // { dg-error "" }