mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
288 B
Solidity
6 lines
288 B
Solidity
contract C {
|
|
function receive() external pure {}
|
|
}
|
|
// ----
|
|
// Warning 3445: (26-33): This function is named "receive" but is not the receive function of the contract. If you intend this to be a receive function, use "receive(...) { ... }" without the "function" keyword to define it.
|