Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array-tparm.C
blob: 02fba95545defea64286ef1168ff7b0b44c87a3f [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
const
int
I
[
2
]>
struct
A
{
int
ir
[
I
[
0
]];
};
extern
constexpr
int
ar
[
2
]
=
{
1
,
2
};
A
<ar>
a
;