summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/function/13.0_4-17gs-strict.js
blob: 903001cf8b3bda761cde93cf4ab5b0464de96ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict';
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 13.0_4-17gs
description: >
    Strict Mode - SourceElements is not evaluated as strict mode code
    when a Function constructor is contained in strict mode code
flags: [onlyStrict]
---*/

var _13_0_4_17_fun = new Function('eval = 42;');

reportCompare(0, 0);