| 1 |
// Copyright (c) 2012 Ecma International. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
es5id: 11.1.5-2-s |
| 5 |
description: > |
| 6 |
Strict Mode - SyntaxError is thrown when 'arguments' occurs as the |
| 7 |
Identifier in a PropertySetParameterList of a PropertyAssignment |
| 8 |
that is contained in strict code |
| 9 |
negative: |
| 10 |
type: SyntaxError |
| 11 |
phase: parse |
| 12 |
flags: [onlyStrict] |
| 13 |
---*/ |
| 14 |
|
| 15 |
throw "Test262: This statement should not be evaluated."; |
| 16 |
|
| 17 |
void { |
| 18 |
set x(arguments) {} |
| 19 |
}; |