blob: e2e6c5a2dd29a4e9994acd58fa7d35eeac3c46d4 [file] [log] [blame]
Eric Christopher723665f2011-08-19 22:16:23 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -g
Eric Christopher2ba4fde2011-08-19 23:17:46 +00002
Eric Christopher723665f2011-08-19 22:16:23 +00003template <typename T1,typename T2>
4inline void f(const T1&,const T2&) { }
5
6template <typename T1,typename T2,void F(const T1&,const T2&)>
7struct A {
8 template <typename T> void g(T& i) { }
9};
10
11int main() {
12 int i;
13 A<int,int,f> a;
14 a.g(i);
15}