solidity/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol
2022-05-19 20:23:28 +02:00

8 lines
132 B
Solidity

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