[cfe-commits] r150389 - /cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp

Eric Christopher echristo at apple.com
Mon Feb 13 07:04:15 PST 2012


Author: echristo
Date: Mon Feb 13 09:04:15 2012
New Revision: 150389

URL: http://llvm.org/viewvc/llvm-project?rev=150389&view=rev
Log:
Testcase for previous commit.

PR11970.

Added:
    cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp

Added: cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp?rev=150389&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/debug-info-template-recursive.cpp Mon Feb 13 09:04:15 2012
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
+
+class base { };
+
+template <class T> class foo : public base  {
+  void operator=(const foo r) { }
+};
+
+class bar : public foo<void> { };
+bar filters;
+
+// For now check that it simply doesn't crash.
+// CHECK: {{.*}}





More information about the cfe-commits mailing list