solidity/test/libsolidity/semanticTests/shifts/shift_negative_constant_right.sol

8 lines
104 B
Solidity
Raw Normal View History

contract C {
int256 public a = -0x4200 >> 8;
}
// ====
// compileViaYul: also
// ----
// a() -> -66