Index: test/codegen/expect/language/issue_23914_test.js |
diff --git a/test/codegen/expect/language/issue_23914_test.js b/test/codegen/expect/language/issue_23914_test.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f4f09f56e499cf319357b1b64c801a0f2a53f34c |
--- /dev/null |
+++ b/test/codegen/expect/language/issue_23914_test.js |
@@ -0,0 +1,18 @@ |
+dart_library.library('language/issue_23914_test', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__issue_23914_test(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const collection = dart_sdk.collection; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const issue_23914_test = Object.create(null); |
+ let LinkedListOfLinkedListEntry = () => (LinkedListOfLinkedListEntry = dart.constFn(collection.LinkedList$(collection.LinkedListEntry)))(); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ issue_23914_test.main = function() { |
+ let a = core.List.unmodifiable(new (LinkedListOfLinkedListEntry())()); |
+ }; |
+ dart.fn(issue_23914_test.main, VoidTodynamic()); |
+ // Exports: |
+ exports.issue_23914_test = issue_23914_test; |
+}); |