Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
no-std-3.rs
blob: f6c4ed5794c918a380e6475254958ed432a8ecf4 [
file
] [
log
] [
blame
]
// run-pass
#![
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
();
}