solidity/test/libsolidity/syntaxTests/inheritance/fallback_receive/receive_with_override.sol
2021-04-20 17:38:29 +02:00

8 lines
122 B
Solidity

contract C {
receive() virtual external payable {}
}
contract D is C {
receive() override external payable {}
}
// ----