param_key: fix container of when no struct member is referenced
[smatch.git] / validation / memops-volatile.c
blob15314e1ce3d51d69c71617cceb2a6e19d3efe8a5
1 static int foo(volatile int *a, int v)
3 *a = v;
4 *a = 0;
5 return *a;
8 /*
9 * check-name: memops-volatile
10 * check-command: test-linearize $file
12 * check-output-ignore
13 * check-output-contains: store\\..*%arg2 -> 0\\[%arg1]
14 * check-output-contains: store\\..*\\$0 -> 0\\[%arg1]
15 * check-output-contains: load\\..*%r.* <- 0\\[%arg1]