solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/493_builtin_keccak256_reject_gas.sol

8 lines
229 B
Solidity
Raw Normal View History

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