From e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Jun 2015 13:06:33 +0300 Subject: Add crash test 4. --- test/crashtest4.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/crashtest4.cpp (limited to 'test/crashtest4.cpp') diff --git a/test/crashtest4.cpp b/test/crashtest4.cpp new file mode 100644 index 0000000..acfc090 --- /dev/null +++ b/test/crashtest4.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; +} -- cgit v1.2.3-70-g09d2