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,) {}
}
// ----
2018-05-09 11:15:27 +00:00
// ParserError: (32-33): Unexpected trailing comma in parameter list.