Home | History | Annotate | Download | only in FrontendC++
      1 // RUN: %llvmgxx -S %s -o /dev/null -g
      2 // XTARGET: darwin,linux
      3 // XFAIL: *
      4 template <typename T1,typename T2>
      5 inline void f(const T1&,const T2&) { }
      6 
      7 template <typename T1,typename T2,void F(const T1&,const T2&)>
      8 struct A {
      9     template <typename T> void g(T& i) { }
     10 };
     11 
     12 int main() {
     13     int i;
     14     A<int,int,f> a;
     15     a.g(i);
     16 }
     17