solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/496_builtin_ecrecover_reject_gas.sol

8 lines
240 B
Solidity
Raw Normal View History

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