| 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 eab5618d5a4c0da981234b3bda32eaf5dbd590f9..c486f723861189ebbf1caf5fa36f378847fbf903 100644
|
| --- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
|
| +++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
|
| @@ -175,6 +175,24 @@ class W<Z> {}
|
| main() {
|
| print(new C<String>().a);
|
| }
|
| +'''
|
| + }, expectIdenticalOutput: true),
|
| + const Test(const {
|
| + 'main.dart': '''
|
| +class C<X> {
|
| + const C();
|
| +}
|
| +foo(x) {
|
| + print(x.runtimeType);
|
| +}
|
| +main() {
|
| + foo(<int>[]);
|
| + foo(const <int>[]);
|
| + foo(new C<String>());
|
| + foo(const C<String>());
|
| + foo(<Type>[C, String]);
|
| + foo(const <Type>[C, String]);
|
| +}
|
| '''
|
| }, expectIdenticalOutput: true),
|
| ];
|
|
|