433da1fc04
They pass fine.
10 lines
179 B
Rust
10 lines
179 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() }
|