Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-68754.C
blob: 72b8200587e5218621b6a669ddc2d2f73107be99 [
file
] [
log
] [
blame
]
// PR c++/68754
// { dg-do compile { target c++11 } }
struct
base
{
};
struct
derived
:
base
{
constexpr
derived
&
operator
=(
derived
const
&)
=
default
;
// { dg-error "defaulted" "" { target { ! c++14 } } }
};