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

8 lines
167 B
Solidity
Raw Normal View History

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