Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
while_function.rs
blob: 9ed4b30c83fd7788da095ce02ba33cfc3af47fb6 [
file
] [
log
] [
blame
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
foo
()
{}
fn
bar
()
->
i32
{
return
10
;
}
fn
main
()
{
let
mut
i
=
1
;
while
i
<
bar
()
{
foo
();
i
+=
1
;
}
}