solidity/test/libsolidity/syntaxTests/array/length/cyclic_constant.sol

9 lines
200 B
Solidity
Raw Normal View History

contract C {
uint constant LEN = LEN;
function f() public {
uint[LEN] a;
}
}
// ----
2020-11-16 11:19:52 +00:00
// TypeError 5210: (17-40): Cyclic constant definition (or maximum recursion depth exhausted).