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

6 lines
136 B
Solidity
Raw Normal View History

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