summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/parameter-declaration-1.C
blob: 22d6f214d7df03c0a5c51757dee0c067ced7cad3 (plain)
1
2
3
4
5
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 "" "" { target *-*-* } }