summaryrefslogtreecommitdiff
path: root/test/crashtest04.cpp
blob: acfc090e8fed63051a2023d8e065aa5242432d81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Test1;
class Test2;

class Test2
{
    int a;
    Test1 *ptr1;
};

class Test1
{
    Test2 *ptr;
    int a;
    float b;
};

void func()
{
    Test1 var1;
}