Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array14.C
blob: b8eb08411c1e2c8362cce5e7c755d70652174321 [
file
] [
log
] [
blame
]
// PR c++/66921
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
Holder
{
constexpr
static
const
int
array
[]
=
{
1
,
2
,
3
};
enum
{
F
=
array
[
0
]};
};
class
HI
:
public
Holder
<int>
{};