diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 13:06:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 13:07:00 +0300 |
commit | e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde (patch) | |
tree | 85fabc67f42a84384d6fdf2da4a76f6a9e80b835 /test/crashtest4.cpp | |
parent | d1a23f1c7da3082e16cbca7625fdf501815564e1 (diff) | |
download | paranucker-e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde.tar.gz paranucker-e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde.tar.bz2 paranucker-e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde.tar.xz paranucker-e9e895f8ae0fc51620c6e6da7f6b67ca0c9e1bde.zip |
Add crash test 4.
Diffstat (limited to 'test/crashtest4.cpp')
-rw-r--r-- | test/crashtest4.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
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; +} |