contract A { uint public x = 0; uint y = f(); function f() public returns (uint256) { ++x; return 42; } } contract B is A { } // ==== // compileToEwasm: also // compileViaYul: also // ---- // x() -> 1