solidity/test/libsolidity/syntaxTests/constants/cyclic_dependency_1.sol
2018-04-03 16:29:18 +02:00

6 lines
121 B
Solidity

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