18fbe78f6SDaniel Dunbar // RUN: %clang_cc1 -fsyntax-only -verify %s 24fb9cde8SDouglas Gregor 34fb9cde8SDouglas Gregor void f(void*, int); // expected-note{{candidate function}} 44fb9cde8SDouglas Gregor template<typename T> 5*e1ac8d17SJohn McCall void f(T*, long); // expected-note{{candidate function}} 64fb9cde8SDouglas Gregor test_f(int * ip,int i)74fb9cde8SDouglas Gregorvoid test_f(int *ip, int i) { 84fb9cde8SDouglas Gregor f(ip, i); // expected-error{{ambiguous}} 94fb9cde8SDouglas Gregor } 10