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

13 lines
247 B
Solidity
Raw Normal View History

interface I {
event A();
function f() external;
function g() external;
fallback() external;
}
contract C is I {
2019-09-16 12:33:43 +00:00
function f() public override {
}
}
// ----
2019-10-23 20:10:12 +00:00
// TypeError: (110-170): Contract "C" should be marked as abstract.