tests/auto/qml/ecmascripttests/test262/test/language/expressions/call/S11.2.4_A1.3_T1.js
raw| 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: | |
| 6 | Arguments : (ArgumentList : ArgumentList,, AssignmentExpression) is a bad |
| 7 | syntax |
| 8 | es5id: 11.2.4_A1.3_T1 |
| 9 | description: incorrect syntax |
| 10 | negative: |
| 11 | phase: parse |
| 12 | type: SyntaxError |
| 13 | ---*/ |
| 14 | |
| 15 | throw "Test262: This statement should not be evaluated."; |
| 16 | |
| 17 | function f_arg() { |
| 18 | } |
| 19 | |
| 20 | f_arg(1,,2); |