solidity/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol

6 lines
100 B
Solidity
Raw Normal View History

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