add test for issue #111353

This commit is contained in:
Ralf Jung 2023-08-06 15:06:40 +02:00
parent 09c71a5547
commit 0c595440e3

View File

@ -0,0 +1,7 @@
// build-pass
#![crate_type = "lib"]
#![feature(unsized_fn_params)]
pub fn f(mut x: [i32]) {
x[0] = 1;
}