Index: test/codegen/expect/language/constructor9_test_none_multi.js |
diff --git a/test/codegen/expect/language/constructor9_test_none_multi.js b/test/codegen/expect/language/constructor9_test_none_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d7c71f519ddd9493d1119837039ebccdcf6dae71 |
--- /dev/null |
+++ b/test/codegen/expect/language/constructor9_test_none_multi.js |
@@ -0,0 +1,24 @@ |
+dart_library.library('language/constructor9_test_none_multi', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__constructor9_test_none_multi(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const constructor9_test_none_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ constructor9_test_none_multi.Klass = class Klass extends core.Object { |
+ new(v) { |
+ this.field_ = v; |
+ } |
+ }; |
+ dart.setSignature(constructor9_test_none_multi.Klass, { |
+ constructors: () => ({new: dart.definiteFunctionType(constructor9_test_none_multi.Klass, [dart.dynamic])}) |
+ }); |
+ constructor9_test_none_multi.main = function() { |
+ new constructor9_test_none_multi.Klass(5); |
+ }; |
+ dart.fn(constructor9_test_none_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.constructor9_test_none_multi = constructor9_test_none_multi; |
+}); |