]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/issue-18425.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[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 }