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