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

6 lines
101 B
Solidity
Raw Normal View History

contract C {
uint immutable z = 2;
uint immutable x = z = y = 3;
uint immutable y = 5;
}