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

8 lines
131 B
Solidity
Raw Normal View History

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