aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constants/cyclic_dependency_4.sol
blob: cc34fad2897407e99cedd0dc59caec8c7f8725ca (plain) (blame)
1
2
3
4
5
6
7
contract C {
    uint constant a = b * c;
    uint constant b = 7;
    uint constant c = 4 + uint(keccak256(abi.encode(d)));
    uint constant d = 2 + b;
}
// ----