mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
433da1fc04
They pass fine.
7 lines
112 B
Rust
7 lines
112 B
Rust
#![crate_name = "a"]
|
|
#![crate_type = "rlib"]
|
|
|
|
static FOO: usize = 3;
|
|
|
|
pub fn token() -> &'static usize { &FOO }
|