blob: cf0a4f71b8e9af79f39e1d1981d36e77dc56fbac (
plain)
1
2
3
4
5
6
|
// { dg-do assemble }
// GROUPS niklas uncaught default-construct
struct A { A (int); };
struct B : A {}; // { dg-message "note" } without ctor // ERROR - candidates
void f () { B (0); }// { dg-error "match" } .*
// { dg-message "candidate" "candidate note" { target *-*-* } 5 }
|