Makefile: use quiet link to link smatch
[smatch.git] / validation / backend / struct-access.c
blob884b4706d723d623cd2bbd7e1ab8400e55cb798c
1 struct st {
2 int i, *d;
3 };
5 static int load_i(struct st *st)
7 return st->i;
10 static void store_i(struct st *st, int i)
12 st->i = i;
15 static int *load_d(struct st *st)
17 return st->d;
20 static void store_d(struct st *st, int *d)
22 st->d = d;
26 * check-name: struct access code generation
27 * check-command: ./sparsec -c $file -o tmp.o