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

8 lines
135 B
Solidity
Raw Normal View History

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