blob: e43ce4023a4ac3e44facf493324ecf9809f97a2a [file] [log] [blame]
//PR c++/28505
struct A
{
A : (); // { dg-error "primary-expression|incomplete type" }
A : (int); // { dg-error "primary-expression|incomplete type|'int'" }
};
A a = (A){0}; // { dg-error "too many initializers|compound-literals" }