mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
260 B
Solidity
12 lines
260 B
Solidity
interface I {
|
|
event E();
|
|
}
|
|
|
|
contract C {
|
|
function f() external pure returns (bytes32) {
|
|
return I.E.selector;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9582: (111-114): Member "E" not found or not visible after argument-dependent lookup in type(contract I).
|