check_deref: use add_dereference_hook()
[smatch.git] / validation / expand / cost-deref-nested.c
blobd6b623961378df1c77b7f7c53ecf198cf41ed6e8
1 struct s {
2 struct {
3 int u, v;
4 } a, b;
5 };
7 static const struct s s;
9 static int foo(int c)
11 return c && s.b.v;
15 * check-name: cost-deref-nested
16 * check-command: test-linearize -fdump-ir $file
18 * check-output-ignore
19 * check-output-excludes: cbr