blob: d3b1eabc0b2f17cb8aec21bbe93600925e5f3a68 [file] [log] [blame]
//PR c++/28258
struct A
{ // { dg-message "note" }
A(void x); // { dg-error "invalid use|incomplete type|candidates" }
};
struct B : A {}; // { dg-error "no matching function for call" }
B b; // { dg-message "synthesized method" }