2015-01-07 18:53:58 -08:00
|
|
|
#![feature(box_syntax)]
|
2014-05-05 18:56:44 -07:00
|
|
|
|
2015-01-08 21:54:35 +11:00
|
|
|
static mut a: Box<isize> = box 3;
|
2014-12-30 22:36:03 +02:00
|
|
|
//~^ ERROR allocations are not allowed in statics
|
2013-06-21 18:46:34 -07:00
|
|
|
|
|
|
|
fn main() {}
|