solidity/test/libsolidity/semanticTests/underscore/in_function.sol
2020-11-03 15:22:57 +00:00

17 lines
255 B
Solidity

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