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

7 lines
153 B
Solidity
Raw Normal View History

2018-05-17 07:04:39 +00:00
contract test {
event Test(uint a, uint b,);
function(uint a) {}
}
// ----
// ParserError: (45-46): Unexpected trailing comma in parameter list.