1 //PR c++/28258 2 3 struct A // { dg-message "note" } 4 { 5 A(void x); // { dg-error "invalid use|incomplete type|candidates" } 6 // { dg-message "" "match candidate text" { target *-*-* } 5 } 7 }; 8 9 struct B : A {}; // { dg-error "no matching function for call|deleted" } 10 11 B b; // { dg-message "synthesized method|deleted" } 12