implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / sm_indirection1.c
blob0906d2156b6988a73b0c90a7c7683619cd9f248e
1 #include "check_debug.h"
3 int a;
5 int frob(int size)
7 int *p = &a;
9 *p = 42;
10 __smatch_implied(a);
12 return 0;
16 * check-name: smatch: pointer indirection #1
17 * check-command: smatch -p=kernel -I.. sm_indirection1.c
19 * check-output-start
20 sm_indirection1.c:10 frob() implied: a = '42'
21 * check-output-end