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