summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/variable/12.2.1-11.js
blob: 854980d2b6357318acad42902e04c9bd99faf9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 12.2.1-11
description: arguments as var identifier in eval code is allowed
flags: [noStrict]
---*/

function testcase() {
    eval("var arguments;");
 }
testcase();

reportCompare(0, 0);