1 1| |#![feature(or_patterns)]
4 4| 1| // Initialize test constants in a way that cannot be determined at compile time, to ensure
5 5| 1| // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from
6 6| 1| // dependent conditions.
7 7| 1| let is_true = std::env::args().len() == 1;
9 9| 1| let mut a: u8 = 0;
10 10| 1| let mut b: u8 = 0;
17 16| | // Or patterns generate MIR `SwitchInt` with multiple targets to the same `BasicBlock`.
18 17| | // This test confirms a fix for Issue #79569.
19 18| 0| (0 | 1, 2 | 3) => {}
28 26| 0| (0 | 1, 2 | 3) => {}
37 34| 0| (0 | 1, 2 | 3) => {}
46 42| 1| (0 | 1, 2 | 3) => {}