summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch12/12.1/S12.1_A4_T2.js
blob: 510d6f7b08852c2d1d8f53478ddd2591d8249224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * The production Block can't be inside of expression
 *
 * @path ch12/12.1/S12.1_A4_T2.js
 * @description Checking if execution of "y={x}" fails
 * @negative
 */

x=1;

//////////////////////////////////////////////////////////////////////////////
//CHECK#1
y={x};
//
//////////////////////////////////////////////////////////////////////////////