Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1130)

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart

Issue 3001233002: Handle labelled breaks (Closed)
Patch Set: Cleanup Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
index b65f5b69960bd2a0dc0c106aaa89df52068ab5a7..c557c463d623d65177af2026915bd2a0da0a5113 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -164,6 +164,11 @@ main() {
if (i == 7) break;
i++;
} while (i < 10);
+ outer: for (var a in [3, 5]) {
+ for (var b in [2, 4]) {
+ if (a == b) break outer;
+ }
+ }
print(x);
}
'''

Powered by Google App Engine
This is Rietveld 408576698