Index: pkg/front_end/testcases/inference/for_loop_empty_condition.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/for_loop_empty_condition.dart.strong.expect b/pkg/front_end/testcases/inference/for_loop_empty_condition.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ab19183f1291acbd1185483d39544bb29f934309 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/for_loop_empty_condition.dart.strong.expect |
@@ -0,0 +1,15 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method test() → void { |
+ #L1: |
+ for (core::num x = 0; ; x = x.{core::num::+}(1)) { |
+ if(x.{core::num::>=}(10)) |
+ break #L1; |
+ if(x is core::int) { |
+ core::int y = x{core::int}; |
+ } |
+ } |
+} |
+static method main() → dynamic {} |