solidity/test/libsolidity/semanticTests/underscore/in_function.sol

18 lines
279 B
Solidity

contract C {
function f() public pure returns (uint) {
uint _;
return _;
}
function g() public pure returns (uint) {
uint _ = 1;
return _;
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 0
// g() -> 1