Debian Codegraph @

gcc/testsuite/g++.dg/template/init1.C

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);