aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/342_missing_bool_conversion.sol
blob: 5546a099a4a7baef205d13a68447c5f3653c6019 (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function b(uint a) public {
        bool(a == 1);
    }
}
// ----
// Warning: (20-75): Function state mutability can be restricted to pure