Debian Codegraph @

js/src/tests/test262/language/expressions/call/S11.2.4_A1.3_T1.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2009 the Sputnik authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 info: |
7 Arguments : (ArgumentList : ArgumentList,, AssignmentExpression) is a bad
8 syntax
9 es5id: 11.2.4_A1.3_T1
10 description: incorrect syntax
11 negative:
12 phase: parse
13 type: SyntaxError
14 ---*/
15
16 $DONOTEVALUATE();
17
18 function f_arg() {
19 }
20
21 f_arg(1,,2);