rust/tests/run-make/extern-flag-disambiguates/b.rs

14 lines
187 B
Rust

#![crate_name = "b"]
#![crate_type = "rlib"]
extern crate a;
static FOO: usize = 3;
pub fn token() -> &'static usize {
&FOO
}
pub fn a_token() -> &'static usize {
a::token()
}