mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
152 B
Solidity
6 lines
152 B
Solidity
|
contract C {
|
||
|
receive() external payable { msg.data; }
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 7139: (46-54): "msg.data" cannot be used inside of "receive" function.
|