[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / init1.C
blobfdbff8d3cb19633ac0bb29b8421486e9b51a7dc3
1 // { dg-do compile }
3 // Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
5 // PR c++/9457: ICE tsubst'ing initializers in templates.
7 template <typename> void foo (int count) {
8   int i = {count};
10 template void foo<int> (int);