]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-mut-not-constant.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / static / static-mut-not-constant.rs
1 #![feature(box_syntax)]
2
3 static mut a: Box<isize> = box 3;
4 //~^ ERROR allocations are not allowed in statics
5
6 fn main() {}