solidity/test/libsolidity/syntaxTests/parsing/address_payable_conversion.sol
2018-09-11 14:52:23 +02:00

8 lines
167 B
Solidity

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