aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
blob: 91ba9045d366b438e8db6514cebfad164acffd8a (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    uint constant LEN = LEN;
    function f() {
        uint[LEN] a;
    }
}
// ----
// TypeError: (37-40): Cyclic constant definition (or maximum recursion depth exhausted).