blob: 9ab0260618935689b63af824b6744ca479f6b78b [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
template<typename T> T f0(T, T);
void test_f0() {
int (*f0a)(int, int) = f0;
int (*f0b)(int, int) = &f0;
int (*f0c)(int, float) = f0; // expected-error{{incompatible type}}
// FIXME: poor error message above!
}