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
fix crash with sym->bb_target == NULL
[smatch.git]
/
validation
/
optim
/
muldiv-by-zero.c
blob
07b7b1a79b3ae10e4c541897a28971c1f42104fe
1
typedef
unsigned int
ui
;
2
typedef
int
si
;
3
4
si
smul0
(
si a
) {
return
a
*
0
; }
5
ui
umul0
(
ui a
) {
return
a
*
0
; }
6
7
/*
8
* check-name: muldiv-by-zero
9
* check-command: test-linearize -Wno-decl $file
10
* check-output-ignore
11
*
12
* check-output-excludes: mul[us]\\.
13
*/