mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
224 B
Solidity
10 lines
224 B
Solidity
|
contract A {
|
||
|
function() external public f;
|
||
|
}
|
||
|
|
||
|
contract C {
|
||
|
bytes4 constant s4 = A.f.selector;
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (88-91): Member "f" not found or not visible after argument-dependent lookup in type(contract A).
|