From 009b1c42aa6266385f2c37e227516b24077e6dd7 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:52:33 +0000 Subject: Import LLVM, at r72732. --- test/FrontendC++/2009-03-17-dbg.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/FrontendC++/2009-03-17-dbg.cpp (limited to '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 0000000000000..93da61873bfc2 --- /dev/null +++ b/test/FrontendC++/2009-03-17-dbg.cpp @@ -0,0 +1,16 @@ +// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g +// XTARGET: darwin,linux +// XFAIL: * +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); +} -- cgit v1.2.3