mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
261 B
Solidity
11 lines
261 B
Solidity
contract C {
|
|
uint constant L2 = LEN - 10;
|
|
uint constant L1 = L2 / 10;
|
|
uint constant LEN = 10 + L1 * 5;
|
|
function f() {
|
|
uint[LEN] a;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (36-39): Cyclic constant definition (or maximum recursion depth exhausted).
|