summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/function/param-eval-non-strict.js
blob: 042cc1c50b0de6a13bf638d87f3183e4bfd07fe9 (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-2
description: >
    eval allowed as formal parameter name of a non-strict function
    expression
flags: [noStrict]
---*/

(function foo(eval){});

reportCompare(0, 0);