aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template12.C
blob: 2165ae29ee43a13646e8ef14845d5132445620f2 (plain)
1
2
3
4
5
6
7
8
// Build don't link: 
// GROUPS passed templates
inline void foo (const int &x) {}

template <class type>
inline void foo (const type &x) {x.eat_this_and_die();}

int main (int argc, char **argv) {foo (argc);}