2 // Check that foo<int> isn't resolved too early.
4 template <class T> void foo(T*);
5 template <class T, class U> void foo(T*, U) { }
7 template <class T, class U> void bar(void (*)(T, U), U) { }
11 bar<int*>(&foo<int>, 1);
13 bar<int*>(foo<int>, 1);