mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
392 B
Solidity
17 lines
392 B
Solidity
pragma experimental ABIEncoderV2;
|
|
|
|
|
|
contract C {
|
|
function f(int16 a, int16 b) public returns (int16) {
|
|
return a >> b;
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f(int16,int16): 0xff99, 0x00 -> FAILURE
|
|
// f(int16,int16): 0xff99, 0x01 -> FAILURE
|
|
// f(int16,int16): 0xff99, 0x02 -> FAILURE
|
|
// f(int16,int16): 0xff99, 0x04 -> FAILURE
|
|
// f(int16,int16): 0xff99, 0x08 -> FAILURE
|