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

19 lines
288 B
Solidity

contract C {
function _() public pure returns (uint) {
return 88;
}
function g() public pure returns (uint){
return _();
}
function h() public pure returns (uint) {
_;
return 33;
}
}
// ----
// _() -> 88
// g() -> 88
// h() -> 33