summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/defaulted8.C
blob: f446f815691ce8fa6482cbb96e32e613330e97df (plain)
1
2
3
4
5
6
7
8
// PR c++/38649
// { dg-options "-std=c++0x" }

struct A
{
  A(...) = default;		// { dg-error "cannot be defaulted" }
  A(const A&, ...) = default;	// { dg-error "cannot be defaulted" }
};