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 7bd194d1649c3133115446cdb8ed186057fc5a6b..bb093f480a81110062332f3142bcb090b1e32006 100644 |
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart |
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart |
@@ -72,7 +72,9 @@ class SubClass extends Class { |
} |
} |
-class Generic<T> {} |
+class Generic<T> { |
+ method(o) => o is T; |
+} |
var toplevel; |
@@ -80,6 +82,7 @@ main() { |
foo(); |
bar(true); |
[]; |
+ <int>[]; |
{}; |
new Object(); |
new Class.named(''); |
@@ -127,6 +130,7 @@ main() { |
} |
x = toplevel; |
x = testIs(x); |
+ x = new Generic<int>().method(x); |
x = testAsGeneric(x); |
x = testAsFunction(x); |
print(x); |