solidity/test/libsolidity/syntaxTests/constants/cyclic_dependency_1.sol
2018-04-10 14:08:22 +02:00

6 lines
130 B
Solidity

contract C {
uint constant a = a;
}
// ----
// TypeError: (17-36): The value of the constant a has a cyclic dependency via a.