1struct st { 2 int i, *d; 3}; 4 5static int load_i(struct st *st) 6{ 7 return st->i; 8} 9 10static void store_i(struct st *st, int i) 11{ 12 st->i = i; 13} 14 15static int *load_d(struct st *st) 16{ 17 return st->d; 18} 19 20static void store_d(struct st *st, int *d) 21{ 22 st->d = d; 23} 24 25/* 26 * check-name: struct access code generation 27 * check-command: sparsec -c $file -o tmp.o 28 */ 29