rust/src/test/run-pass/const-negative.rs

7 lines
90 B
Rust
Raw Normal View History

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