mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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 }
|