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

/*---
es5id: 13.1-2-1
description: >
    eval allowed as formal parameter name of a non-strict function
    declaration
flags: [noStrict]
---*/

function foo(eval){};

reportCompare(0, 0);