Sign in
fuchsia
/
third_party
/
rust
/
1e3b57ee7754702ce9fcef73686b5bcee405dd4a
/
.
/
src
/
test
/
ui
/
paren-free.rs
blob: 8e8bb8800ec0d7524e8f68aed2dca9ceadaae557 [
file
] [
log
] [
blame
]
// run-pass
pub
fn
main
()
{
let
x
=
true
;
if
x
{
let
mut
i
=
10
;
while
i
>
0
{
i
-=
1
;
}
}
match
x
{
true
=>
{
println
!(
"right"
);
}
false
=>
{
println
!(
"wrong"
);
}
}
}