OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / defaulted8.C
1 // PR c++/38649
2 // { dg-options "-std=c++0x" }
3
4 struct A
5 {
6   A(...) = default;             // { dg-error "cannot be defaulted" }
7   A(const A&, ...) = default;   // { dg-error "cannot be defaulted" }
8 };