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

Unified Diff: tests/compiler/dart2js/serialization_test_data.dart

Issue 1883863002: Serialize JumpTarget and LabelDefinition. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unused code. Created 4 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization_test_data.dart
diff --git a/tests/compiler/dart2js/serialization_test_data.dart b/tests/compiler/dart2js/serialization_test_data.dart
index 67d400c764eaeee818e15a9852ac0030203194e3..3056735c0317c7bf67cb80346f46523db9277190 100644
--- a/tests/compiler/dart2js/serialization_test_data.dart
+++ b/tests/compiler/dart2js/serialization_test_data.dart
@@ -188,6 +188,19 @@ main() {
},
expectedWarningCount: 1,
expectedInfoCount: 0),
+
+ const Test(const {
+ 'main.dart': '''
+main() {
+ loop: for (var a in []) {
+ for (var b in []) {
+ continue loop;
+ }
+ break;
+ }
+}'''
+ }),
+
];
class Test {
« no previous file with comments | « pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698