summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error13.C
blob: 89e88478679e6a99402b080f671fe06cded033e8 (plain)
1
2
3
4
5
6
7
8
9
10
//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" }