Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
palmer
/
sparse
/
53eacc1fa688f066a5426f44fbc85710677fc172
/
.
/
validation
/
optim
/
muldiv-by-zero.c
blob: 07b7b1a79b3ae10e4c541897a28971c1f42104fe [
file
] [
log
] [
blame
]
typedef
unsigned
int
ui
;
typedef
int
si
;
si smul0
(
si a
)
{
return
a
*
0
;
}
ui umul0
(
ui a
)
{
return
a
*
0
;
}
/*
* check-name: muldiv-by-zero
* check-command: test-linearize -Wno-decl $file
* check-output-ignore
*
* check-output-excludes: mul[us]\\.
*/