Debian Codegraph @

js/src/tests/test262/language/statements/switch/S12.11_A3_T3.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2009 the Sputnik authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 info: Syntax constructions of switch statement
7 es5id: 12.11_A3_T3
8 description: Checking if execution of "switch(value)" fails
9 negative:
10 phase: parse
11 type: SyntaxError
12 ---*/
13
14 $DONOTEVALUATE();
15
16 switch(value);