aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/literal_comparisons.sol
blob: dd2afcaa1cac87f4c4f8c921d0eaeaca9e265427 (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f(int8 x) public pure {
        if (x == 1) {}
        if (1 == x) {}
    }
}
// ----