summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/types/reference/S8.7.2_A1_T2.js
blob: 2256edac7d83a7e4ebf1d45665196e47495782ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| error:SyntaxError
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: GetValue(V) mast fail
es5id: 8.7.2_A1_T2
description: Checking if execution of "1=1" fails
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

1=1;