mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
10 lines
196 B
Rust
10 lines
196 B
Rust
// skip-filecheck
|
|
// unit-test: ConstProp
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
// EMIT_MIR repeat.main.ConstProp.diff
|
|
fn main() {
|
|
let x: u32 = [42; 8][2] + 0;
|
|
}
|