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

8 lines
135 B
Solidity

contract C {
function f() public pure {
address payable q = payable;
}
}
// ----
// ParserError: (70-71): Expected '(' but got ';'