rust/src/test/run-pass/const-negative.rs
2011-09-22 21:59:09 -07:00

7 lines
90 B
Rust

// Issue #358
const toplevel_mod: int = -1;
fn main() {
assert toplevel_mod == -1;
}