solidity/test/libsolidity/syntaxTests/immutable/reading_after_initialization.sol

9 lines
111 B
Solidity
Raw Normal View History

2020-03-10 17:15:50 +00:00
contract C {
uint immutable x = 0;
uint y = 0;
function f() internal {
y = x + 1;
}
}