rust/src/test/compile-fail/issue-6977.rs
2013-06-07 12:30:44 +12:00

8 lines
117 B
Rust

//xfail-test
// Trying to create a fixed-length vector with a negative size
fn main() {
let _x = [0,..-1];
}