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