add test for issue #111353
This commit is contained in:
parent
09c71a5547
commit
0c595440e3
7
tests/ui/const_prop/ice-issue-111353.rs
Normal file
7
tests/ui/const_prop/ice-issue-111353.rs
Normal file
@ -0,0 +1,7 @@
|
||||
// build-pass
|
||||
#![crate_type = "lib"]
|
||||
#![feature(unsized_fn_params)]
|
||||
|
||||
pub fn f(mut x: [i32]) {
|
||||
x[0] = 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user