aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/C++Frontend/2003-10-21-InnerClass.cpp.tr12
1 files changed, 12 insertions, 0 deletions
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
index 0000000000..4f7b436c14
--- /dev/null
+++ b/test/C++Frontend/2003-10-21-InnerClass.cpp.tr
@@ -0,0 +1,12 @@
+// RUN: %llvmgcc -xc++ -S -o - %s | grep '"struct.X::Y"'
+struct X {
+
+ struct Y {
+ Y();
+ };
+
+};
+
+X::Y::Y() {
+
+}