mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
256 B
Solidity
10 lines
256 B
Solidity
|
contract C {
|
||
|
function g() pure internal {
|
||
|
}
|
||
|
function f() view returns (bytes4) {
|
||
|
return g.selector;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (108-118): Member "selector" not found or not visible after argument-dependent lookup in function () pure
|