blob: 4548b00816fd2a44fc7f7c7784748a1a89f18030 [file]
#![feature(thread_local)]
use std::alloc::System;
#[global_allocator]
#[thread_local]
static A: System = System;
//~^ ERROR: allocators cannot be `#[thread_local]`
fn main() {}