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

10 lines
238 B
Solidity
Raw Normal View History

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