solidity/test/libsolidity/syntaxTests/arrayLength/can_be_constant_in_struct.sol

8 lines
98 B
Solidity
Raw Normal View History

contract C {
uint constant LEN = 10;
struct Test {
uint[LEN] ids;
}
}
// ----