solidity/test/libsolidity/semanticTests/expressions/exp_operator_const_signed.sol
2019-07-01 15:37:46 +02:00

8 lines
131 B
Solidity

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