solidity/test/libsolidity/syntaxTests/abstract/unimplemented_functions_inherited.sol
2019-12-02 21:59:00 +01:00

8 lines
151 B
Solidity

abstract contract A {
function a() public virtual;
}
contract B is A {
}
// ----
// TypeError: (57-76): Contract "B" should be marked as abstract.