summaryrefslogtreecommitdiff
path: root/test/language/statements/variable/12.2.1-12.js
blob: a0de7fe0464c258485d8f856c3710b34cce1c96a (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-12
description: arguments as local var identifier is allowed
includes: [runTestCase.js]
flags: [noStrict]
---*/

function testcase() {
    eval("(function (){var arguments;})");
    return true;
 }
runTestCase(testcase);