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

6 lines
130 B
Solidity
Raw Normal View History

2018-03-15 18:54:05 +00:00
contract C {
uint constant a = a;
}
// ----
// TypeError: (17-36): The value of the constant a has a cyclic dependency via a.