1 // Check that foo<int> isn't resolved too early.
3 template <class T> void foo(T*);
4 template <class T, class U> void foo(T*, U) { }
6 template <class T, class U> void bar(void (*)(T, U), U) { }
10 bar<int*>(&foo<int>, 1);
12 bar<int*>(foo<int>, 1);