mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
433da1fc04
They pass fine.
10 lines
179 B
Rust
10 lines
179 B
Rust
#![crate_name = "c"]
|
|
#![crate_type = "rlib"]
|
|
|
|
extern crate a;
|
|
|
|
static FOO: usize = 3;
|
|
|
|
pub fn token() -> &'static usize { &FOO }
|
|
pub fn a_token() -> &'static usize { a::token() }
|