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

11 lines
152 B
Solidity
Raw Normal View History

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