Shih-wei Liao | f8fd82b | 2010-02-10 11:10:31 -0800 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | |||||
3 | void f(void*, int); // expected-note{{candidate function}} | ||||
4 | template<typename T> | ||||
5 | void f(T*, long); // expected-note{{candidate function}} | ||||
6 | |||||
7 | void test_f(int *ip, int i) { | ||||
8 | f(ip, i); // expected-error{{ambiguous}} | ||||
9 | } |