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