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

/*---
es5id: 12.10.1-13-s
description: >
    Strict Mode - SyntaxError isn't thrown when WithStatement body is
    in strict mode code
flags: [noStrict]
---*/

        with ({}) {
            "use strict";
        }

reportCompare(0, 0);