solidity/test/libsolidity/syntaxTests/inheritance/fallback_receive/fallback_without_override.sol
2022-04-01 23:41:18 -05:00

9 lines
205 B
Solidity

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