Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58707.C
blob: 12f2e309788ebe0f30ab5a97de10b9aa6495a3b1 [
file
] [
log
] [
blame
]
// PR c++/58707
// { dg-do compile { target c++11 } }
template
<
int
i
>
class
TC
{
};
constexpr
int
foo
[]
=
{
42
};
TC
<
foo
[
0
>
1
]>
bar
;