OSDN Git Service

PR c++/55058
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / error13.C
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 // { dg-message "candidate" "candidate note" { target *-*-* } 9 }
11  
12 B b; // { dg-message "synthesized method|deleted" }