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