solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/493_builtin_keccak256_reject_gas.sol
2018-06-25 17:17:18 +02:00

8 lines
223 B
Solidity

contract C {
function f() public {
keccak256.gas();
}
}
// ----
// TypeError: (47-60): Member "gas" not found or not visible after argument-dependent lookup in function (bytes memory) pure returns (bytes32)