added a few more test cases
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
17
t/e-001.err
17
t/e-001.err
@ -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 '...'
|
||||
}
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user