solidity/test/libsolidity/syntaxTests/parsing/address_payable_conversion.sol
2022-04-01 23:41:18 -05:00

8 lines
182 B
Solidity

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