summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/let/syntax/without-initialisers-in-statement-positions-case-expression-statement-list.js
blob: 089beebeb39837e48b168392751f4912bbce1521 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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: >
    let declarations without initialisers in statement positions:
    case Expression : StatementList
---*/
switch (true) { case true: let x; }

reportCompare(0, 0);