solidity/test/libsolidity/semanticTests/state/block_number.sol
2022-05-19 20:23:28 +02:00

13 lines
193 B
Solidity

contract C {
constructor() {}
function f() public returns (uint) {
return block.number;
}
}
// ====
// compileToEwasm: also
// ----
// constructor()
// f() -> 2
// f() -> 3