summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/asi/S7.9_A9_T7.js
blob: 414971cc7579bc5059b2075798678333ec10c8fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |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: Check Do-While Statement for automatic semicolon insertion
es5id: 7.9_A9_T7
description: Execute do \n\n while(false)
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

//CHECK#1
do

while (false)