solidity/test/libsolidity/syntaxTests/fallback/payable_fallback_with_inherited_receive.sol

7 lines
106 B
Solidity

contract A {
receive() external payable { }
}
contract C is A {
fallback() external payable { }
}