summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/block-scope/leave/x-before-continue.js
blob: b8114ec47545b9b86507c1aeee7f0b247c09b8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 13.1
description: >
    x before continue
---*/
do {
  let x = 4;
  assert.sameValue(x, 4);
  {
    let x = 5;
    assert.sameValue(x, 5);
    continue;
    assert(false);
  }
} while (false);


reportCompare(0, 0);