parent
57ce8cbeb6
commit
0763bd6ee9
@ -0,0 +1,11 @@ |
||||
pragma solidity ^0.5.0; |
||||
|
||||
contract Test { |
||||
function a(uint x) public pure returns (uint) { |
||||
return x > 3 ? x : 1; |
||||
} |
||||
|
||||
function b(uint x) public pure returns (uint) { |
||||
return (x > 3) ? x : 1; |
||||
} |
||||
} |
Loading…
Reference in new issue