mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Require unimplemented functions to be virtual.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
abstract contract C {
|
||||
function f() internal returns(uint[] storage);
|
||||
function g() internal returns(uint[] storage s);
|
||||
function f() internal virtual returns(uint[] storage);
|
||||
function g() internal virtual returns(uint[] storage s);
|
||||
}
|
||||
// ----
|
||||
|
||||
Reference in New Issue
Block a user