about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/issue-18425.rs
blob: e74a20de726628dd851c29a194974bc7ba6752b9 (plain)
1
2
3
4
5
6
7
8
//@ 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.


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