added a few more test cases
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-05 14:13:46 +09:00
parent 4ed8651821
commit 3296b5e545
2 changed files with 48 additions and 35 deletions

View File

@ -2,7 +2,22 @@ BEGIN {
##ERROR: unexpected end of input
---
function abc(x { ##ERROR: comma expected in place of
function abc(x { ##ERROR: comma expected in place of '{'
}
---
function abc (x, ...,) { ##ERROR: right parenthesis expected in place of ','
}
---
function abc (x, ..., a) { ##ERROR: right parenthesis expected in place of ','
}
---
function abc (... ...) { ##ERROR: right parenthesis expected in place of '...'
}
---