40 lines
571 B
Plaintext
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
|
|
}
|