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;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f() -> 0