Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-initlist10.C
blob: c12347dcc807bf6fe1170b1a529bfed8c457d4e1 [
file
] [
log
] [
blame
]
// PR c++/70648
// { dg-do compile { target c++11 } }
struct
C
{
template
<
class
...
U
>
constexpr
C
(...)
:
c
{
static_cast
<
U
&&>(
0
)...
}
{}
int
c
[
1
];
};
static
constexpr
int
b
=
C
{}.
c
[
0
];