hawk/t/e-001.err
hyung-hwan 3296b5e545
All checks were successful
continuous-integration/drone/push Build is passing
added a few more test cases
2024-05-05 14:13:46 +09:00

40 lines
571 B
Plaintext

BEGIN {
##ERROR: unexpected end of input
---
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 '...'
}
---
BEGIN {
@argv = 10 ##ERROR: invalid assignment statement
}
---
BEGIN {
@argc = 10 ##ERROR: invalid assignment statement
}
---
BEGIN {
@nil = 10 ##ERROR: invalid assignment statement
}