repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice14.C
blob
f936fb9cd49bf6b692f4f48249f92a0595480ae3
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>();