solidity/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol
2023-05-11 10:56:55 -05:00

6 lines
100 B
Solidity

contract test {
function f() public returns(int d) { return (-2) ** 3; }
}
// ----
// f() -> -8