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

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;
}