about summary refs log tree commit diff
path: root/tests/ui/internal/internal-unstable-thread-local.rs
blob: 351ba03b1b778638a86acdf86f9ec0f14546c975 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ aux-build:internal_unstable.rs

#![allow(dead_code)]

extern crate internal_unstable;


thread_local!(static FOO: () = ());
thread_local!(static BAR: () = internal_unstable::unstable()); //~ ERROR use of unstable

fn main() {}