summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/arguments-object/10.5-1gs-strict.js
blob: 9baf855e427e4c3a94d371bfa61e60108f486c36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |reftest| error:SyntaxError
'use strict';
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 10.5-1gs
description: Strict Mode - arguments cannot be assigned to in a strict function
negative:
  phase: parse
  type: SyntaxError
flags: [onlyStrict]
---*/

$DONOTEVALUATE();


function f_10_5_1_gs(){
    arguments = 7;
}