Add a test for negative constants. Closes #358

This commit is contained in:
Brian Anderson 2011-09-22 21:59:09 -07:00
parent 0e5f76a718
commit 33dd7cc854

View File

@ -0,0 +1,7 @@
// Issue #358
const toplevel_mod: int = -1;
fn main() {
assert toplevel_mod == -1;
}