☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice14.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-ice14.C
code
plain
raw
1
// PR c++/60305
2
// { dg-do compile { target c++11 } }
3
4
template<int I> int foo() { return I; }
5
6
template<int... I> void bar()
7
{
8
constexpr int (*X[])() = { foo<I>... };
9
}
10
11
template void bar<1,3,5>();