blob: 57164e3e794d20822e5760786eb7603de9b1f789 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// compile-flags: -O -Zmir-opt-level=4
// EMIT_MIR boolean_identities.test.ConstProp.diff
pub fn test(x: bool, y: bool) -> bool {
(y | true) & (x & false)
}
fn main() {
test(true, false);
}
|