solidity/test/libsolidity/syntaxTests/inheritance/unimplemented_without_virtual.sol

6 lines
141 B
Solidity

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