6 lines
179 B
Rust
6 lines
179 B
Rust
fn main() {
|
|
let data: [u8; 1024*1024*1024] = [42; 1024*1024*1024];
|
|
//~^ ERROR: reached the configured maximum execution time
|
|
assert_eq!(data.len(), 1024*1024*1024);
|
|
}
|