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

7 lines
75 B
Solidity
Raw Normal View History

contract C {
int256 public a = -0x42 << 8;
}
// ----
// a() -> -16896