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
db/fixup_kernel.sh: fix clear_user() handling
[smatch.git]
/
validation
/
optim
/
inline-return.c
blob
d075715d6a545ab75b0c96777e69ddf482863ccc
1
static
inline
int
def
(
void
)
2
{
3
return
1
;
4
}
5
6
int
foo
(
void
)
7
{
8
return
def
();
9
}
10
11
int
bar
(
void
)
12
{
13
return
def
();
14
return
0
;
15
}
16
17
/*
18
* check-name: inline-return.c
19
* check-command: test-linearize -Wno-decl $file
20
*
21
* check-output-ignore
22
* check-output-pattern(2): ret\\..*\\$1
23
* check-output-excludes: ret\\..*\\$0
24
*/