Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;