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

6 lines
155 B
Solidity
Raw Normal View History

2020-03-10 17:15:50 +00:00
contract C {
uint immutable x;
}
// ----
// TypeError 2658: (0-36): Construction control flow ends without initializing all immutable state variables.