solidity/test/libsolidity/syntaxTests/inheritance/fallback_receive/fallback_without_override.sol
2019-11-14 11:49:39 +01:00

9 lines
175 B
Solidity

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