blob: bd8f7f93b0d765c986b0644f1706a5ed1a98f237 [file] [log] [blame]
// 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 "invalid|cannot|before|forbid|member" }
// { dg-error "25:end of input" "" { target *-*-* } .-1 }