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

8 lines
144 B
Solidity

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