Add some more abstract keywords in test to make sure the correct property is tested.

This commit is contained in:
chriseth
2019-11-04 17:26:38 +01:00
parent 3d625cc239
commit 7c258873bd
40 changed files with 120 additions and 174 deletions
@@ -1,5 +1,4 @@
contract test {
abstract contract test {
function f(bytes memory) internal;
}
// ----
// TypeError: (0-56): Contract "test" should be marked as abstract.
@@ -1,5 +1,4 @@
contract test {
abstract contract test {
function f(bytes storage) internal;
}
// ----
// TypeError: (0-57): Contract "test" should be marked as abstract.