Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted8.C
blob: 383766de2b48225d0fec957a06e46a096ce1e7c6 [
file
] [
log
] [
blame
]
// PR c++/38649
// { dg-do compile { target c++11 } }
struct
A
{
A
(...)
=
default
;
// { dg-error "cannot be defaulted" }
A
(
const
A
&,
...)
=
default
;
// { dg-error "cannot be defaulted" }
};