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