expressions: make assign_expression() take an op argument
[smatch.git] / validation / backend / struct-access.c
blob3d193e3315789de65f5338314aa92c76fda61003
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