aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constants/cyclic_dependency_1.sol
blob: cb553fbe409e01929f30c2da9e670bfa0eb60903 (plain) (blame)
1
2
3
4
5
contract C {
    uint constant a = a;
}
// ----
// TypeError: (17-36): The value of the constant a has a cyclic dependency via a.