]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18425.rs
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
[rust.git] / src / test / ui / issues / 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 }