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
/
select-select-true-false1.c
blob
32c0364de2ba0d61a53877aa646da3f506b052e3
1
int
foo
(
int
p
)
2
{
3
int
t
= (
p
?
42
:
0
);
4
return
(
t
?
42
:
0
) == (
p
?
42
:
0
);
5
}
6
7
/*
8
* check-name: select-select-true-false1
9
* check-command: test-linearize -Wno-decl $file
10
*
11
* check-output-ignore
12
* check-output-returns: 1
13
*/