mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
225 B
Solidity
9 lines
225 B
Solidity
|
contract C {
|
||
|
function blockhash(uint256 blockNumber) public returns(bytes32) { bytes32 x; return x; }
|
||
|
function f() public returns(bytes32) { return blockhash(3); }
|
||
|
}
|
||
|
// ====
|
||
|
// compileViaYul: also
|
||
|
// ----
|
||
|
// f() -> 0
|