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

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

Issue 3007783004: Handle switch continue (Closed)
Patch Set: Updated cf. comment 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
« no previous file with comments | « tests/compiler/dart2js/jumps/jump_test.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/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 b80afeb305c69494bf9abcb55cceaf424bc44113..223ce5d1395ada3669b3cf9f3d8b4b10d6d83c12 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -186,6 +186,23 @@ main() {
}, expectIdenticalOutput: false),
const Test(const {
'main.dart': '''
+main() {
+ var x = 42;
+ int i = 0;
+ switch (i) {
+ case 0:
+ print(x);
+ continue label1;
+ label1:
+ case 1:
+ print(x);
+ break;
+ }
+}
+'''
+ }, expectIdenticalOutput: false),
+ const Test(const {
+ 'main.dart': '''
class A<U,V> {
var a = U;
var b = V;
« no previous file with comments | « tests/compiler/dart2js/jumps/jump_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698