]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7364.rs
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[rust.git] / src / test / ui / issues / issue-7364.rs
1 #![feature(box_syntax)]
2
3 use std::cell::RefCell;
4
5 // Regression test for issue 7364
6 static boxed: Box<RefCell<isize>> = box RefCell::new(0);
7 //~^ ERROR `RefCell<isize>` cannot be shared between threads safely [E0277]
8
9 fn main() { }