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

9 lines
175 B
Solidity
Raw Normal View History

contract C {
2019-11-05 17:25:34 +00:00
fallback() virtual external {}
}
contract D is C {
fallback() external {}
}
// ----
// TypeError: (66-88): Overriding function is missing "override" specifier.