solidity/test/libsolidity/semanticTests/state/uncalled_blockhash.sol
2021-01-19 13:04:45 -05:00

11 lines
251 B
Solidity

contract C {
function f() public returns (bytes32) {
return (blockhash)(block.number - 1);
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 0x3737373737373737373737373737373737373737373737373737373737373738