solidity/test/libsolidity/syntaxTests/immutable/uninitialized.sol
2020-04-02 13:52:27 +02:00

6 lines
150 B
Solidity

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