test262/test/language/statements/switch/S12.11_A3_T3.js

12 lines
309 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Syntax constructions of switch statement
es5id: 12.11_A3_T3
description: Checking if execution of "switch(value)" fails
negative: SyntaxError
---*/
switch(value);