repo.or.cz
/
smatch
/
bkmgit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
checking_for_null_instead_of_err_ptr: use smatch_kernel_err_ptr.c
[smatch/bkmgit.git]
/
validation
/
optim
/
merge_bbe-adjust_phi.c
blob
6a8ebb73a62dc346e44c8edf27cc43dcb514f3cc
1
extern
int
array
[
2
];
2
3
static
inline
int
stupid_select
(
int
idx
)
4
{
5
if
(
idx
)
6
idx
=
0
;
7
return
array
[
idx
];
8
}
9
10
int
select
(
void
)
11
{
12
int
d
=
stupid_select
(-
1
);
13
return
d
;
14
}
15
16
/*
17
* check-name: merge_bbe-adjust_phi
18
* check-command: test-linearize -Wno-decl $file
19
*
20
* check-output-ignore
21
* check-output-excludes: phisrc\\.
22
* check-output-excludes: phi\\.
23
*/