repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
type: introduce get_final_type()
[smatch.git]
/
validation
/
memops-volatile.c
blob
0f3e12ad24fc027a1bd1cfdf6051c059945ccc9e
1
static int
foo
(
volatile
int
*
a
,
int
v
)
2
{
3
*
a
=
v
;
4
return
*
a
;
5
}
6
7
/*
8
* check-name: memops-volatile
9
* check-command: test-linearize $file
10
*
11
* check-output-start
12
foo:
13
.L0:
14
<entry-point>
15
store.32 %arg2 -> 0[%arg1]
16
load.32 %r5 <- 0[%arg1]
17
ret.32 %r5
18
19
20
* check-output-end
21
*/