From 203b279f5faf2d46813c4252d867bdaf0017a409 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 17 Mar 2009 19:47:21 +0000 Subject: [PATCH] test case for rev. 67095. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67096 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC++/2009-03-17-dbg.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/FrontendC++/2009-03-17-dbg.cpp diff --git a/test/FrontendC++/2009-03-17-dbg.cpp b/test/FrontendC++/2009-03-17-dbg.cpp new file mode 100644 index 00000000000..38495561d43 --- /dev/null +++ b/test/FrontendC++/2009-03-17-dbg.cpp @@ -0,0 +1,14 @@ +// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g +template +inline void f(const T1&,const T2&) { } + +template +struct A { + template void g(T& i) { } +}; + +int main() { + int i; + A a; + a.g(i); +} -- 2.34.1