rust/tests/ui/imports/extern-prelude-extern-crate-absolute-expanded.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
228 B
Rust
Raw Normal View History

// 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;
}