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

8 lines
163 B
Solidity
Raw Normal View History

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