Skip to content

Commit 0c59544

Browse files
committed
add test for issue #111353
1 parent 09c71a5 commit 0c59544

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// build-pass
2+
#![crate_type = "lib"]
3+
#![feature(unsized_fn_params)]
4+
5+
pub fn f(mut x: [i32]) {
6+
x[0] = 1;
7+
}

0 commit comments

Comments
 (0)