solidity/test/libsolidity/syntaxTests/constants/cyclic_dependency_1.sol

6 lines
135 B
Solidity

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