rust/tests/ui/const_prop/ice-issue-111353.rs

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

8 lines
110 B
Rust
Raw Normal View History

2023-08-06 08:06:40 -05:00
// build-pass
#![crate_type = "lib"]
#![feature(unsized_fn_params)]
pub fn f(mut x: [i32]) {
x[0] = 1;
}