38495561d435181e4c7c0e276e45b3cf11de625f
[oota-llvm.git] / test / FrontendC++ / 2009-03-17-dbg.cpp
1 // RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
2 template <typename T1,typename T2>
3 inline void f(const T1&,const T2&) { }
4
5 template <typename T1,typename T2,void F(const T1&,const T2&)>
6 struct A {
7     template <typename T> void g(T& i) { }
8 };
9
10 int main() {
11     int i;
12     A<int,int,f> a;
13     a.g(i);
14 }