Sign in
fuchsia
/
third_party
/
rust
/
a7c34f1ce99887675f3d79740e2c9f739a89fe45
/
.
/
src
/
test
/
ui
/
yield2.rs
blob: 376faab0c48fef73fd819aecb5b377c3407f5cbc [
file
] [
log
] [
blame
]
// run-pass
use
std
::
thread
;
pub
fn
main
()
{
let
mut
i
:
isize
=
0
;
while
i
<
100
{
i
=
i
+
1
;
println
!(
"{}"
,
i
);
thread
::
yield_now
();
}
}