solidity/test/libsolidity/syntaxTests/immutable/non-value_type.sol

6 lines
125 B
Solidity
Raw Normal View History

2020-02-27 15:13:55 +00:00
contract C {
uint[] immutable x;
}
// ----
// TypeError 6377: (17-35): Immutable variables cannot have a non-value type.