Debian Codegraph @

js/src/tests/test262/language/statements/with/12.10.1-11gs-strict.js

raw
1 // |reftest| error:SyntaxError
2 'use strict';
3 // Copyright (c) 2012 Ecma International. All rights reserved.
4 // This code is governed by the BSD license found in the LICENSE file.
5
6 /*---
7 es5id: 12.10.1-11gs
8 description: Strict Mode - SyntaxError is thrown when using with statement
9 negative:
10 phase: parse
11 type: SyntaxError
12 flags: [onlyStrict]
13 ---*/
14
15 $DONOTEVALUATE();
16
17 with ({}) { }