aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/backend/elseif_temporaries.good
blob: 023dd33f93227c5cdddd29f66a825234740c373e (plain)
1
2
3
4
5
6
7
8
9
10
11
12

() test()
{
    int i = -100;
    uint u = 100;
    if i > u { // needs a temporary due to mixed signedness
        // something
    } else if i < u { // also needs a temporary due to mixed signedness
        // something else
    }
}