Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted8.C
blob: f446f815691ce8fa6482cbb96e32e613330e97df [
file
] [
log
] [
blame
]
// 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" }
};