Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
mult_by_zero.rs
blob: 47e15205ea90504bccacd55f39bbbdbba0960a79 [
file
] [
log
] [
blame
]
// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR mult_by_zero.test.ConstProp.diff
fn
test
(
x
:
i32
)
->
i32
{
x
*
0
}
fn
main
()
{
test
(
10
);
}