Index: test/codegen/expect/language/bootstrap_test.js |
diff --git a/test/codegen/expect/language/bootstrap_test.js b/test/codegen/expect/language/bootstrap_test.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8fc7b05f7e52234ace68d5db21488704bbb048a3 |
--- /dev/null |
+++ b/test/codegen/expect/language/bootstrap_test.js |
@@ -0,0 +1,26 @@ |
+dart_library.library('language/bootstrap_test', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__bootstrap_test(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const bootstrap_test = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ bootstrap_test.BootstrapTest = class BootstrapTest extends core.Object { |
+ static testMain() { |
+ let obj = new core.Object(); |
+ return obj; |
+ } |
+ }; |
+ dart.setSignature(bootstrap_test.BootstrapTest, { |
+ statics: () => ({testMain: dart.definiteFunctionType(dart.dynamic, [])}), |
+ names: ['testMain'] |
+ }); |
+ bootstrap_test.main = function() { |
+ bootstrap_test.BootstrapTest.testMain(); |
+ }; |
+ dart.fn(bootstrap_test.main, VoidTodynamic()); |
+ // Exports: |
+ exports.bootstrap_test = bootstrap_test; |
+}); |