mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
279 B
Solidity
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
|