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

6 lines
155 B
Solidity

contract C {
uint immutable x;
}
// ----
// TypeError 2658: (0-36): Construction control flow ends without initializing all immutable state variables.