Debian Codegraph @

js/src/tests/test262/language/statements/block/12.1-5.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (c) 2012 Ecma International. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 es5id: 12.1-5
7 description: "12.1 - block '{ StatementListopt };' is not allowed: if-else-if"
8 negative:
9 phase: parse
10 type: SyntaxError
11 ---*/
12
13 $DONOTEVALUATE();
14
15 if{};else if{}