solidity/test/libsolidity/syntaxTests/immutable/reading_after_initialization.sol
2020-04-02 13:52:27 +02:00

9 lines
111 B
Solidity

contract C {
uint immutable x = 0;
uint y = 0;
function f() internal {
y = x + 1;
}
}