solidity/test/libsolidity/syntaxTests/abstract/abstract_contract_because_of_interface.sol
2019-11-01 14:54:47 -05:00

8 lines
163 B
Solidity

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