Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
,
""
);