Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
modules
/
mod_file_with_path_attr.rs
blob: 4a7e96fa40547db4bc2ef0a435c5c0af964d7cb8 [
file
] [
log
] [
blame
]
//@ run-pass
// Testing that a plain .rs file can load modules from other source files
#[
path
=
"mod_file_aux.rs"
]
mod
m
;
pub
fn
main
()
{
assert_eq
!(
m
::
foo
(),
10
);
}