| 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-4-s |
| 5 |
description: > |
| 6 |
Strict Mode - SyntaxError is thrown when 'arguments' occurs as |
| 7 |
the Identifier in a PropertySetParameterList of a |
| 8 |
PropertyAssignment if its FunctionBody is strict code |
| 9 |
negative: |
| 10 |
type: SyntaxError |
| 11 |
phase: parse |
| 12 |
flags: [noStrict] |
| 13 |
---*/ |
| 14 |
|
| 15 |
throw "Test262: This statement should not be evaluated."; |
| 16 |
|
| 17 |
void { |
| 18 |
set x(arguments) { |
| 19 |
"use strict"; |
| 20 |
} |
| 21 |
}; |