solidity/test/libsolidity/syntaxTests/abstract/abstract_contract_because_of_interface.sol

8 lines
168 B
Solidity

interface A {
function utterance() external returns (bytes32);
}
contract B is A {
}
// ----
// TypeError 3656: (69-88): Contract "B" should be marked as abstract.