solidity/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
2018-04-11 18:01:24 +02:00

9 lines
188 B
Solidity

contract C {
uint constant LEN = LEN;
function f() {
uint[LEN] a;
}
}
// ----
// TypeError: (37-40): Cyclic constant definition (or maximum recursion depth exhausted).