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 "continue" within a function call that is within an IterationStatement yields SyntaxError michael@0: * michael@0: * @path ch12/12.7/S12.7_A6.js michael@0: * @description Using labaled "continue Identifier" within a function body michael@0: * @negative michael@0: */ michael@0: michael@0: var x=0,y=0; michael@0: michael@0: LABEL1 : do { michael@0: x++; michael@0: (function(){continue LABEL1;})(); michael@0: y++; michael@0: } while(0); michael@0: