solidity/test/libsolidity/syntaxTests/immutable/reading_after_initialization.sol
2021-04-20 17:38:29 +02:00

10 lines
119 B
Solidity

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