solidity/test/libsolidity/semanticTests/viaYul/local_variable_without_init.sol

12 lines
176 B
Solidity

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