New testcase, fixed in the C++ frontend
authorChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2003 21:33:18 +0000 (21:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2003 21:33:18 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9353 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-10-21-InnerClass.cpp.tr [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-10-21-InnerClass.cpp.tr b/test/C++Frontend/2003-10-21-InnerClass.cpp.tr
new file mode 100644 (file)
index 0000000..4f7b436
--- /dev/null
@@ -0,0 +1,12 @@
+// RUN: %llvmgcc -xc++ -S -o - %s | grep '"struct.X::Y"'
+struct X {
+
+  struct Y {
+    Y();
+  };
+
+};
+
+X::Y::Y() {
+
+}