summaryrefslogtreecommitdiff
path: root/test/crashtest04.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/crashtest04.cpp')
-rw-r--r--test/crashtest04.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/crashtest04.cpp b/test/crashtest04.cpp
new file mode 100644
index 0000000..acfc090
--- /dev/null
+++ b/test/crashtest04.cpp
@@ -0,0 +1,22 @@
+
+
+class Test1;
+class Test2;
+
+class Test2
+{
+ int a;
+ Test1 *ptr1;
+};
+
+class Test1
+{
+ Test2 *ptr;
+ int a;
+ float b;
+};
+
+void func()
+{
+ Test1 var1;
+}