Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-delegating3.C
blob: 2263ec894884273a8ad461841566667f871e2b9e [
file
] [
log
] [
blame
]
// PR c++/65816
// { dg-do compile { target c++11 } }
struct
test
{
int
m
;
test
()
=
default
;
constexpr
test
(
int
)
:
test
()
{}
};
static_assert
(
test
(
0
).
m
==
0
,
""
);