solidity/test/libsolidity/syntaxTests/inheritance/interface/contract_base.sol

6 lines
117 B
Solidity

contract C {}
interface I is C {}
// ----
// TypeError: (29-30): Interfaces can only inherit from other interfaces.