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

9 lines
195 B
Solidity
Raw Normal View History

contract C {
2019-11-05 17:25:34 +00:00
receive() virtual external payable {}
}
contract D is C {
receive() external payable {}
}
// ----
// TypeError 9456: (73-102): Overriding function is missing "override" specifier.