blob: 22d905910ba3a92e7dbeb508baa74768fd54a764 [file] [log] [blame]
Douglas Katzman3459ce22015-10-08 04:24:12 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -debug-info-kind=limited
Eric Christopher925d5932011-08-19 23:17:46 +00002
Eric Christophera82c55e2011-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}