os-rust/tests/ui/static/static-mut-not-constant.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
90 B
Rust
Raw Normal View History

static mut a: Box<isize> = Box::new(3);
//~^ ERROR cannot call non-const fn
2013-06-21 18:46:34 -07:00
fn main() {}