michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * Appearing of break without an IterationStatement leads to syntax error michael@0: * michael@0: * @path ch12/12.8/S12.8_A1_T4.js michael@0: * @description Checking if break Identifier with no loop, placed into a block, fails michael@0: * @negative michael@0: */ michael@0: michael@0: LABEL : x=3.14; michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: { michael@0: var x=1; michael@0: break LABEL; michael@0: var y=2; michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: