Index: tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
index 379a16af0cd1f1103aac50cfaaaf72cf6985706f..1526e297c9925f9580f4f05a0a4290e6f629a6b7 100644 |
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
@@ -60,6 +60,17 @@ main() { |
x = i; |
if (i == 5) break; |
} |
+ int i = 0; |
+ while (i < 10) { |
+ if (i == 5) continue; |
+ x = i; |
+ if (i == 5) break; |
+ } |
+ for (var v in [3, 5]) { |
+ if (v == 5) continue; |
+ x = v; |
+ if (v == 5) break; |
+ } |
print(x); |
return x; |
} |