aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/496_builtin_ecrecover_reject_gas.sol
blob: 82b6c89dbdbdc999f41711eee25838c9cff186e4 (plain) (blame)
1
2
3
4
5
6
7
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).