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

9 lines
210 B
Solidity

contract C {
receive() external payable {}
}
contract D is C {
fallback() override external {}
}
// ----
// TypeError 7792: (76-84='override'): Function has override specified but does not override anything.