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