solidity/test/libsolidity/syntaxTests/conversion/explicit_conversion_sender_to_payable.sol

10 lines
248 B
Solidity

contract C {
function f() public view {
address payable p = payable(msg.sender);
address payable q = payable(address(msg.sender));
}
}
// ----
// Warning 2072: (43-60): Unused local variable.
// Warning 2072: (86-103): Unused local variable.