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

9 lines
404 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;
uint constant c = 4 + uint(keccak256(d));
uint constant d = 2 + b;
2018-05-15 10:53:23 +00:00
}
// ----
// Warning: (98-110): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.