aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2003-10-21-InnerClass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC++/2003-10-21-InnerClass.cpp')
-rw-r--r--test/FrontendC++/2003-10-21-InnerClass.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/FrontendC++/2003-10-21-InnerClass.cpp b/test/FrontendC++/2003-10-21-InnerClass.cpp
new file mode 100644
index 0000000..fadd51d
--- /dev/null
+++ b/test/FrontendC++/2003-10-21-InnerClass.cpp
@@ -0,0 +1,12 @@
+// RUN: %llvmgcc -xc++ -S -o - %s | grep {struct.X::Y}
+struct X {
+
+ struct Y {
+ Y();
+ };
+
+};
+
+X::Y::Y() {
+
+}