All the states are implied not just unique ones.
[smatch.git] / validation / sm_implied.c
blob5b3fce9558774d9d0ad5c30668c4ca9a4318b203
1 struct ture {
2 int a;
3 };
5 struct ture *a;
6 struct ture *b;
8 void func (void)
10 struct ture *aa;
12 b = 0;
13 if (a)
14 goto x;
15 aa = returns_nonnull();
16 b = 1;
18 if (b)
19 aa->a = 1;
20 aa->a = 1;
21 return;