summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/asi/S7.9_A7_T2.js
blob: 47f1d16d3da8e4018abcc85c8402840bf38a8de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Check Var Statement for automatic semicolon insertion
es5id: 7.9_A7_T2
description: Checking if execution of "var x = \n 1" passes
---*/

//CHECK#1
var x = 
1

reportCompare(0, 0);