mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-10 21:13:46 +08:00
New test.
From-SVN: r59920
This commit is contained in:
parent
f71d0a9529
commit
29d4fdf2c3
6
gcc/testsuite/g++.dg/parse/parameter-declaration-1.C
Normal file
6
gcc/testsuite/g++.dg/parse/parameter-declaration-1.C
Normal file
@ -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 "" }
|
Loading…
Reference in New Issue
Block a user