Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/overload4.C

raw
1 // { dg-do assemble }
2
3 template <class T> void foo(T);
4
5 template <class T> void bar(void (*)(T), T);
6
7 void baz() {
8 bar<int>(foo, 1);
9 bar(foo<int>, 1);
10 bar<int>(foo<int>, 1);
11 bar(foo, 1);
12 }