p9.cpp revision 684d096c204c5eef29c10777bce890400d235d8c
1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3template <int> int f(int); // expected-note 2{{candidate}} 4template <signed char> int f(int); // expected-note 2{{candidate}} 5int i1 = f<1>(0); // expected-error{{ambiguous}} 6int i2 = f<1000>(0); // expected-error{{ambiguous}} 7