18fbe78f6SDaniel Dunbar // RUN: %clang_cc1 -fsyntax-only -verify %s 2b05ce0f3SDouglas Gregor 398b20f12SLarisse Voufo template <typename T> 4*0d905476SRichard Smith T f0(T, T); // expected-note{{deduced conflicting types for parameter 'T' ('int' vs. 'float')}} 5b05ce0f3SDouglas Gregor test_f0()6b05ce0f3SDouglas Gregorvoid test_f0() { 7b05ce0f3SDouglas Gregor int (*f0a)(int, int) = f0; 8b05ce0f3SDouglas Gregor int (*f0b)(int, int) = &f0; 9e81f58e1SDouglas Gregor int (*f0c)(int, float) = f0; // expected-error{{address of overloaded function 'f0' does not match required type 'int (int, float)'}} 10b05ce0f3SDouglas Gregor } 11