summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/explicit-instantiation2.C
blob: 21109a765aa64506ea1bdfae789315c3c5ea3eac (plain)
1
2
3
4
5
6
// Bug 10968: implicit instantiation overrides explicit instantiation
// { dg-final { scan-assembler "_Z1fIiET_S0_" } }

template <class T> T f (T t) { return t; }
inline void g () { f (4); }
template int f (int);