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

6 lines
118 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract test {
function(uint a,) {}
}
// ----
// ParserError: (32-32): Unexpected trailing comma in parameter list.