Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor4.C
blob: 397b4b054eff7d7550abdf1aea8c7a0935c9fc48 [
file
] [
log
] [
blame
]
// PR c++/46873
// { dg-options -std=c++0x }
struct
S
{
int
i
:
1
;
};
struct
T
{
const
S s
;
constexpr
T
(
S a
=
S
())
:
s
(
a
)
{
}
};
T t
;