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

7 lines
156 B
Solidity

contract test {
modifier modTest(uint a,) { _; }
function(uint a) {}
}
// ----
// ParserError 7591: (40-41): Unexpected trailing comma in parameter list.