solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/424_using_interface_complex.sol

13 lines
247 B
Solidity

interface I {
event A();
function f() external;
function g() external;
fallback() external;
}
contract C is I {
function f() public override {
}
}
// ----
// TypeError: (110-170): Contract "C" should be marked as abstract.