solidity/test/libsolidity/syntaxTests/parsing/address_payable_conversion.sol

8 lines
172 B
Solidity

contract C {
function f() public pure {
address payable a = address payable(this);
}
}
// ----
// ParserError 2314: (80-87): Expected ';' but got 'payable'