]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/issue-18425.rs
Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyup
[rust.git] / tests / ui / array-slice-vec / issue-18425.rs
1 // run-pass
2 // Check that codegen doesn't ICE when codegenning an array repeat
3 // expression with a count of 1 and a non-Copy element type.
4
5 // pretty-expanded FIXME #23616
6
7 fn main() {
8     let _ = [Box::new(1_usize); 1];
9 }