Index: test/kernel/regression/unresolved_for_in.dart |
diff --git a/test/kernel/regression/unresolved_for_in.dart b/test/kernel/regression/unresolved_for_in.dart |
index 379918a5d998552b94cb467b20df7abd7d318913..b9e9c1bcc9958a9f60b47e12e32a7137a4dfc7d7 100644 |
--- a/test/kernel/regression/unresolved_for_in.dart |
+++ b/test/kernel/regression/unresolved_for_in.dart |
@@ -2,10 +2,45 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE.md file. |
+import 'dart:collection' as collection; |
+ |
+typedef void VoidFunction(); |
+ |
class Fisk { |
it1(x) { |
for (key in x) { |
print(key); |
} |
+ for (Fisk in x) { |
+ print(Fisk); |
+ } |
+ for (collection in x) { |
+ print(collection); |
+ } |
+ for (VoidFunction in x) { |
+ print(VoidFunction); |
+ } |
+ for (1 in x) { |
+ print(key); |
+ } |
+ } |
+} |
+ |
+main(arguments) { |
+ new Fisk(); |
+ for (key in arguments) { |
+ print(key); |
+ } |
+ for (Fisk in arguments) { |
+ print(Fisk); |
+ } |
+ for (collection in arguments) { |
+ print(collection); |
+ } |
+ for (VoidFunction in arguments) { |
+ print(VoidFunction); |
+ } |
+ for (1 in arguments) { |
+ print(key); |
} |
} |