Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.brendan/template12.C

raw
1 // { dg-do assemble }
2 // GROUPS passed templates
3 inline void foo (const int &x) {}
4
5 template <class type>
6 inline void foo (const type &x) {x.eat_this_and_die();}
7
8 int main (int argc, char **argv) {foo (argc);}