blob: 2b2790c84b76b98dc93bde9f2af88209196146fb (
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:
default : StatementList
---*/
switch (true) { default: const x = 1; }
reportCompare(0, 0);
|