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

12 lines
190 B
Solidity

contract C {
function f() public returns (uint) {
return block.gaslimit;
}
}
// ====
// compileToEwasm: also
// ----
// f() -> 20000000
// f() -> 20000000
// f() -> 20000000