[llvm-commits] [llvm] r67096 - /llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp

Devang Patel dpatel at apple.com
Tue Mar 17 12:47:21 PDT 2009


Author: dpatel
Date: Tue Mar 17 14:47:21 2009
New Revision: 67096

URL: http://llvm.org/viewvc/llvm-project?rev=67096&view=rev
Log:
test case for rev. 67095.

Added:
    llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp

Added: llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-03-17-dbg.cpp?rev=67096&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp (added)
+++ llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp Tue Mar 17 14:47:21 2009
@@ -0,0 +1,14 @@
+// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
+template <typename T1,typename T2>
+inline void f(const T1&,const T2&) { }
+
+template <typename T1,typename T2,void F(const T1&,const T2&)>
+struct A {
+    template <typename T> void g(T& i) { }
+};
+
+int main() {
+    int i;
+    A<int,int,f> a;
+    a.g(i);
+}





More information about the llvm-commits mailing list