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

6 lines
117 B
Solidity
Raw Normal View History

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