Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor4.C
blob: c4947126bbbe49a6600ecc973c040b3afffa4693 [
file
] [
log
] [
blame
]
// PR c++/46873
// { dg-do compile { target c++11 } }
struct
S
{
int
i
:
1
;
};
struct
T
{
const
S s
;
constexpr
T
(
S a
=
S
())
:
s
(
a
)
{
}
};
T t
;