mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
186 B
Solidity
12 lines
186 B
Solidity
contract C {
|
|
function gasleft() public returns (uint256) {
|
|
return 0;
|
|
}
|
|
|
|
function f() public returns (uint256) {
|
|
return gasleft();
|
|
}
|
|
}
|
|
// ----
|
|
// f() -> 0
|