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

8 lines
143 B
Solidity
Raw Normal View History

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