summaryrefslogtreecommitdiff
path: root/test/cxx/input13.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cxx/input13.cpp')
-rw-r--r--test/cxx/input13.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/cxx/input13.cpp b/test/cxx/input13.cpp
new file mode 100644
index 00000000..67fd42fd
--- /dev/null
+++ b/test/cxx/input13.cpp
@@ -0,0 +1,14 @@
+
+class C
+{
+ class D {};
+ int f();
+};
+
+int f()
+{
+}
+int C::f()
+{
+ D d;
+}