Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
no-std-3.rs
blob: f937d2593a0c7736cad465fd24005371744cc9a1 [
file
] [
log
] [
blame
]
#![
no_std
]
extern
crate std
;
mod
foo
{
pub
fn
test
()
->
Option
<
i32
>
{
Some
(
2
)
}
}
fn
main
()
{
let
a
=
core
::
option
::
Option
::
Some
(
"foo"
);
a
.
unwrap
();
foo
::
test
().
unwrap
();
}