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

8 lines
151 B
Solidity
Raw Normal View History

2019-09-14 20:56:40 +00:00
abstract contract A {
function a() public virtual;
2019-09-14 20:56:40 +00:00
}
contract B is A {
}
// ----
// TypeError: (57-76): Contract "B" should be marked as abstract.