// { dg-do run }// Check that foo<int> isn't resolved too early.template<classT>voidfoo(T*);template<classT,classU>voidfoo(T*,U){}template<classT,classU>voidbar(void(*)(T,U),U){}intmain(){bar<int*>(&foo,1);bar<int*>(&foo<int>,1);bar<int*>(foo,1);bar<int*>(foo<int>,1);}