2015-03-01 14:09:42 +11:00
|
|
|
//@ aux-build:internal_unstable.rs
|
|
|
|
|
|
|
|
#![allow(dead_code)]
|
|
|
|
|
|
|
|
extern crate internal_unstable;
|
|
|
|
|
|
|
|
|
|
|
|
thread_local!(static FOO: () = ());
|
2015-03-05 18:33:58 -08:00
|
|
|
thread_local!(static BAR: () = internal_unstable::unstable()); //~ ERROR use of unstable
|
2015-03-01 14:09:42 +11:00
|
|
|
|
2015-03-05 18:33:58 -08:00
|
|
|
fn main() {}
|