about summary refs log tree commit diff
path: root/tests/ui/cross-crate/static-addresses.rs
blob: 2783b44671d5ed8532b40dda2a9795a8e56d0a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
//@ aux-build:xcrate_static_addresses.rs


extern crate xcrate_static_addresses;

use xcrate_static_addresses as other;

pub fn main() {
    other::verify_same(&other::global);
    other::verify_same2(other::global2);
}