blob: 38495561d435181e4c7c0e276e45b3cf11de625f [file] [log] [blame]
Devang Patel8a901ce2009-03-17 19:47:21 +00001// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
2template <typename T1,typename T2>
3inline void f(const T1&,const T2&) { }
4
5template <typename T1,typename T2,void F(const T1&,const T2&)>
6struct A {
7 template <typename T> void g(T& i) { }
8};
9
10int main() {
11 int i;
12 A<int,int,f> a;
13 a.g(i);
14}