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
111 B
Rust
Raw Normal View History

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