Debian Codegraph @

js/src/tests/test262/language/statements/const/syntax/with-initializer-case-expression-statement-list.js

raw
1 // Copyright (C) 2011 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 13.1
5 description: >
6 const declarations with initialisers in statement positions:
7 case Expression : StatementList
8 ---*/
9 switch (true) { case true: const x = 1; }
10
11 reportCompare(0, 0);