2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-10-27 08:46:48 -05:00
|
|
|
// 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;
|
|
|
|
}
|