continue.js (779B)
1 // |reftest| error:SyntaxError 2 // Copyright (C) 2016 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 esid: sec-labelled-statements-static-semantics-containsundefinedcontinuetarget 6 es6id: 13.13.4 7 description: Does not modify `iterationSet` 8 info: | 9 With arguments iterationSet and labelSet. 10 11 LabelledStatement : LabelIdentifier : LabelledItem 12 13 1. Let label be the StringValue of LabelIdentifier. 14 2. Let newLabelSet be a copy of labelSet with label appended. 15 3. Return ContainsUndefinedContinueTarget of LabelledItem with arguments 16 iterationSet and newLabelSet. 17 negative: 18 phase: parse 19 type: SyntaxError 20 ---*/ 21 22 $DONOTEVALUATE(); 23 24 do { 25 test262: { 26 continue test262; 27 } 28 } while (false)