mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
9 lines
193 B
Rust
9 lines
193 B
Rust
//@ 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];
|
|
}
|