//@ check-pass
fn and_chain() {
let z;
if true && { z = 3; true} && z == 3 {}
}
fn and_chain_2() {
true && { z = 3; true} && z == 3;
fn or_chain() {
if false || { z = 3; false} || z == 3 {}
fn main() {