rust/tests/ui/const_prop/const-prop-ice.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
103 B
Rust
Raw Normal View History

// build-fail
fn main() {
[0; 3][3u64 as usize]; //~ ERROR this operation will panic at runtime
2018-11-09 03:11:20 -06:00
}