summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/issue-18425.rs
blob: 22345718ad8e40cf2d7289af0ff86f8caa3d2aa2 (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];
}