blob: ebf239f7b5c1d9ca5e47ab745691f7addc1bb7fc (
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: >
const declarations with initialisers in statement positions:
case Expression : StatementList
---*/
switch (true) { case true: const x = 1; }
reportCompare(0, 0);
|