solidity/test/libsolidity/semanticTests/shifts/shift_negative_constant_left.sol
2020-03-19 14:42:25 +01:00

7 lines
75 B
Solidity

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