blob: 4d34968d32aa942982d608dcd11b8cfb6b770588 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template<class T> int &f(T);
template<class T> float &f(T*, int=1);
template<class T> int &g(T);
template<class T> float &g(T*, ...);
int main() {
int* ip;
float &fr1 = f(ip);
float &fr2 = g(ip);
}