solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/495_builtin_ripemd160_reject_gas.sol

8 lines
223 B
Solidity
Raw Normal View History

contract C {
function f() public {
ripemd160.gas();
}
}
// ----
2018-05-23 13:39:26 +00:00
// TypeError: (47-60): Member "gas" not found or not visible after argument-dependent lookup in function (bytes memory) pure returns (bytes20)