blob: d56eab5197866b686bae52e28f531dd8ec193b25 [file] [log] [blame]
// { dg-do assemble }
// Bug: member initializers are allowed where they shouldn't be.
template <class T>
struct A {
int i;
Blarg () : i(0) { return 0; } // { dg-error "" }
};