Home | History | Annotate | Download | only in temp.func.order
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 template<class T> int &f(T);
      4 template<class T> float &f(T*, int=1);
      5 
      6 template<class T> int &g(T);
      7 template<class T> float &g(T*, ...);
      8 
      9 int main() {
     10   int* ip;
     11   float &fr1 = f(ip);
     12   float &fr2 = g(ip);
     13 }
     14