2 #include "check_debug.h"
5 int (*func
)(struct foo
*);
10 int frob1(struct foo
*p
)
12 __smatch_implied(*p
->p
);
15 int frob2(struct foo
*p
)
17 __smatch_implied(*p
->p
);
25 .a
= 1, .b
= 2, .c
= 3,
30 .a
= 10, .b
= 11, .c
= 13,
42 * check-name: smatch mtag #7
43 * check-command: validation/smatch_db_test.sh -I.. sm_mtag7.c
46 sm_mtag7.c:12 frob1() implied: *p->p = '42'
47 sm_mtag7.c:17 frob2() implied: *p->p = '43'