solidity/test/libsolidity/syntaxTests/inheritance/fallback_receive/fallback_without_override.sol

9 lines
180 B
Solidity

contract C {
fallback() virtual external {}
}
contract D is C {
fallback() external {}
}
// ----
// TypeError 9456: (66-88): Overriding function is missing "override" specifier.