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..587d3837fe2bb71e301387bf30d4268c82fc47df 100644 |
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart |
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart |
@@ -157,6 +157,22 @@ main() { |
} |
''' |
}, expectIdenticalOutput: false), |
+ const Test(const { |
+ 'main.dart': ''' |
+class A<U,V> { |
+ var a = U; |
+ var b = V; |
+} |
+class B<Q, R> extends A<R, W<Q>> { |
+} |
+class C<Y> extends B<Y, W<Y>> { |
+} |
+class W<Z> {} |
+main() { |
+ print(new C<String>().a); |
+} |
+''' |
+ }, expectIdenticalOutput: true), |
]; |
enum ResultKind { crashes, errors, warnings, success, failure } |