Index: test/codegen_expected/language/export_main_test.js |
diff --git a/test/codegen_expected/language/export_main_test.js b/test/codegen_expected/language/export_main_test.js |
index 0c6a6854ae66ffc3bb4d224622bd6d0fb857cb23..e859856d8eba2312807742dd4ec56c29dd41c84c 100644 |
--- a/test/codegen_expected/language/export_main_test.js |
+++ b/test/codegen_expected/language/export_main_test.js |
@@ -1 +1,18 @@ |
-//FAILED TO COMPILE |
+dart_library.library('language/export_main_test', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__export_main_test(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const export_main_test = Object.create(null); |
+ const top_level_entry_test = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ top_level_entry_test.main = function() { |
+ }; |
+ dart.fn(top_level_entry_test.main, VoidTodynamic()); |
+ export_main_test.main = top_level_entry_test.main; |
+ // Exports: |
+ exports.export_main_test = export_main_test; |
+ exports.top_level_entry_test = top_level_entry_test; |
+}); |