// { dg-do run } extern "C" void abort(void); void F(int) { } void F(double) { abort(); } template void g() { (*F)(3); } int main() { g<&F>(); }