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

8 lines
132 B
Solidity
Raw Normal View History

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