mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
288 B
Solidity
13 lines
288 B
Solidity
contract C {
|
|
function f(int256 a, int256 b) public returns (int256) {
|
|
a >>= b;
|
|
return a;
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// f(int256,int256): 0x4266, 0x0 -> 0x4266
|
|
// f(int256,int256): 0x4266, 0x8 -> 0x42
|
|
// f(int256,int256): 0x4266, 0x10 -> 0
|
|
// f(int256,int256): 0x4266, 0x11 -> 0
|