Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / implicit15.C
blob40fadaf5d393f024a0297ab1efc0d24a1990524b
1 // PR c++/88122
2 // { dg-do compile { target c++11 } }
4 struct A {
5   A (...);      // { dg-message "candidate" }
6   A ();         // { dg-message "candidate" }
7 };
8 struct B : A {
9   using A::A;   // { dg-error "is ambiguous" }
10                 // { dg-message "is implicitly deleted because the default definition would be ill-formed" "" { target *-*-* } .-1 }
11 } b{3};         // { dg-error "use of deleted function" }