mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add some more abstract keywords in test to make sure the correct property is tested.
This commit is contained in:
+1
-2
@@ -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
-2
@@ -1,5 +1,4 @@
|
||||
contract test {
|
||||
abstract contract test {
|
||||
function f(bytes storage) internal;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (0-57): Contract "test" should be marked as abstract.
|
||||
|
||||
Reference in New Issue
Block a user