f26e770745
Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future.
7 lines
94 B
Rust
7 lines
94 B
Rust
// Check that issue #954 stays fixed
|
|
|
|
fn main() {
|
|
alt -1 { -1 {} }
|
|
assert 1-1 == 0;
|
|
}
|