diff options
Diffstat (limited to 'tests/run-make-fulldeps/extern-flag-disambiguates/b.rs')
-rw-r--r-- | tests/run-make-fulldeps/extern-flag-disambiguates/b.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/extern-flag-disambiguates/b.rs b/tests/run-make-fulldeps/extern-flag-disambiguates/b.rs new file mode 100644 index 000000000..1d7a7339c --- /dev/null +++ b/tests/run-make-fulldeps/extern-flag-disambiguates/b.rs @@ -0,0 +1,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() } |