aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0064_if_expr.rs
blob: 40f227ba3a46a486c6a4945563797539efcd8af8 (plain)
1
2
3
4
5
6
7
fn foo() {
    if true {};
    if true {} else {};
    if true {} else if false {} else {};
    if S {};
    if { true } { } else { };
}