summaryrefslogtreecommitdiffstats
path: root/tests/ui/internal/internal-unstable-thread-local.rs
blob: b9194c6b3705f3e20817c08bc37b2ceb88ed7d76 (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() {}