Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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 } } }
};