☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
init1.C
☽
☼
gcc/testsuite/g++.dg/template/init1.C
code
plain
raw
1
// { dg-do compile }
2
3
// Origin: Wolfgang Bangerth <
[email protected]
>
4
5
// PR c++/9457: ICE tsubst'ing initializers in templates.
6
7
template <typename> void foo (int count) {
8
int i = {count};
9
}
10
template void foo<int> (int);