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

21 lines
320 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;
}
}
// ====
// compileToEwasm: also
// ----
// _() -> 88
// g() -> 88
// h() -> 33