solidity/test/libsolidity/syntaxTests/inheritance/unimplemented_without_virtual.sol
2019-12-02 21:59:00 +01:00

6 lines
136 B
Solidity

abstract contract C {
function f() external;
}
// ----
// TypeError: (23-45): Functions without implementation must be marked virtual.