solidity/test/libsolidity/semanticTests/various/state_variable_local_variable_mixture.sol
2022-05-19 20:23:28 +02:00

13 lines
175 B
Solidity

contract A {
uint256 x = 1;
uint256 y = 2;
function a() public returns (uint256 x) {
x = A.y;
}
}
// ====
// compileToEwasm: also
// ----
// a() -> 2