OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 main() { | 5 main() { |
6 for (var x, y in []) {} | 6 for (var x, y in []) {} |
7 L: { continue L; } | 7 L: { continue L; } |
8 L: if (true) { continue L; } | 8 L: if (true) { continue L; } |
9 L: switch (1) { | 9 L: switch (1) { |
10 case 1: | 10 case 1: |
11 continue L; | 11 continue L; |
12 case 2: | 12 case 2: |
13 break L; | 13 break L; |
14 } | 14 } |
15 try { | 15 try { |
16 } on NoSuchMethodError { | 16 } on NoSuchMethodError { |
17 } | 17 } |
18 } | 18 } |
OLD | NEW |