1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 template<typename T> T f0(T, T); //expected-note{{candidate}} 4 test_f0()5void test_f0() { 6 int (*f0a)(int, int) = f0; 7 int (*f0b)(int, int) = &f0; 8 int (*f0c)(int, float) = f0; // expected-error{{address of overloaded function 'f0' does not match required type 'int (int, float)'}} 9 } 10