2023-05-01 11:18:41 +00:00
|
|
|
// unit-test: ConstProp
|
2023-06-08 09:18:34 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2023-05-01 11:18:41 +00:00
|
|
|
// compile-flags: -Zmir-enable-passes=+NormalizeArrayLen
|
2020-04-04 20:25:54 +00:00
|
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
2023-05-01 11:18:41 +00:00
|
|
|
|
2020-07-27 21:22:43 +02:00
|
|
|
// EMIT_MIR repeat.main.ConstProp.diff
|
2019-09-14 09:22:07 -04:00
|
|
|
fn main() {
|
|
|
|
let x: u32 = [42; 8][2] + 0;
|
|
|
|
}
|