Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/defaulted8.C

raw
1 // PR c++/38649
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
6 A(...) = default; // { dg-error "cannot be defaulted" }
7 A(const A&, ...) = default; // { dg-error "cannot be defaulted" }
8 };