solidity/test/libsolidity/syntaxTests/memberLookup/msg_sender_non_payable_send.sol

8 lines
209 B
Solidity
Raw Normal View History

contract C {
function f() public {
(msg.sender).send(10);
}
}
// ----
// TypeError 9862: (47-64): "send" and "transfer" are only available for objects of type "address payable", not "address".