mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
203 B
Solidity
9 lines
203 B
Solidity
contract test {
|
|
function run() public returns(int8 y) {
|
|
uint8 x = 0xfa;
|
|
return int8(x);
|
|
}
|
|
}
|
|
// ----
|
|
// run() -> 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa
|