about summary refs log tree commit diff
path: root/tests/ui/imports/extern-prelude-extern-crate-absolute-expanded.rs
blob: c3ad9c42ac3a7106f4fcdb83f1c4945d80c4e96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ build-pass (FIXME(62277): could be check-pass?)
//@ edition:2018

macro_rules! define_iso { () => {
    extern crate std as iso;
}}

::iso::thread_local! {
    static S: u8 = 0;
}

define_iso!();

fn main() {
    let s = S;
}