mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
190 B
Solidity
9 lines
190 B
Solidity
contract C {
|
|
receive() virtual external payable {}
|
|
}
|
|
contract D is C {
|
|
receive() external payable {}
|
|
}
|
|
// ----
|
|
// TypeError: (73-102): Overriding function is missing 'override' specifier.
|