summaryrefslogtreecommitdiffstats
path: root/tests/run-make/extern-flag-disambiguates/b.rs
blob: 1d7a7339ce27e37d7f87cb9cdd2cb10d8018ada6 (plain)
1
2
3
4
5
6
7
8
9
#![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() }