summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/issue-18425.rs
blob: 354c14a756aafde3c8eeca97aeea4653dd0d8f66 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// Check that codegen doesn't ICE when codegenning an array repeat
// expression with a count of 1 and a non-Copy element type.

// pretty-expanded FIXME #23616

fn main() {
    let _ = [Box::new(1_usize); 1];
}