Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
sepcomp
/
auxiliary
/
sepcomp_lib.rs
blob: a0d91c5dc87c58a75394b4f3ae177ae20693007c [
file
] [
log
] [
blame
]
//@ compile-flags: -C codegen-units=3 --crate-type=rlib,dylib -g
pub
mod
a
{
pub
fn
one
()
->
usize
{
1
}
}
pub
mod
b
{
pub
fn
two
()
->
usize
{
2
}
}
pub
mod
c
{
use
crate
::
a
::
one
;
use
crate
::
b
::
two
;
pub
fn
three
()
->
usize
{
one
()
+
two
()
}
}