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