solidity/test/libsolidity/syntaxTests/literal_comparisons.sol

8 lines
115 B
Solidity
Raw Normal View History

contract test {
function f(int8 x) public pure {
if (x == 1) {}
if (1 == x) {}
}
}
// ----