mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
194 B
Solidity
9 lines
194 B
Solidity
|
contract C {
|
||
|
fallback() external {}
|
||
|
}
|
||
|
contract D is C {
|
||
|
receive() override external payable {}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (68-76): Function has override specified but does not override anything.
|