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

8 lines
164 B
Solidity
Raw Normal View History

2018-03-15 18:54:05 +00:00
contract C {
uint constant a = b * c;
uint constant b = 7;
2018-05-23 13:39:26 +00:00
uint constant c = 4 + uint(keccak256(abi.encode(d)));
2018-03-15 18:54:05 +00:00
uint constant d = 2 + b;
2018-05-15 10:53:23 +00:00
}
// ----