2020-03-09 21:14:07 +00:00
|
|
|
contract A {
|
|
|
|
uint256 x = 1;
|
|
|
|
uint256 y = 2;
|
|
|
|
|
|
|
|
function a() public returns (uint256 x) {
|
|
|
|
x = A.y;
|
|
|
|
}
|
|
|
|
}
|
2020-04-16 12:21:12 +00:00
|
|
|
// ====
|
2020-11-21 13:54:16 +00:00
|
|
|
// compileToEwasm: also
|
2020-03-09 21:14:07 +00:00
|
|
|
// ----
|
|
|
|
// a() -> 2
|