solidity/test/libsolidity/semanticTests/state/block_gaslimit.sol
2023-05-11 10:56:55 -05:00

10 lines
158 B
Solidity

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