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