summaryrefslogtreecommitdiff
path: root/ghc/lib/std/Main.hi-boot
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/lib/std/Main.hi-boot')
-rw-r--r--ghc/lib/std/Main.hi-boot13
1 files changed, 13 insertions, 0 deletions
diff --git a/ghc/lib/std/Main.hi-boot b/ghc/lib/std/Main.hi-boot
new file mode 100644
index 0000000000..d4bd8ff350
--- /dev/null
+++ b/ghc/lib/std/Main.hi-boot
@@ -0,0 +1,13 @@
+---------------------------------------------------------------------------
+-- Main.hi
+--
+-- This hand-written interface file fakes a "Main" module
+-- It is used *solely* so that GHCmain generates the right kind of
+-- external reference to Main.main
+---------------------------------------------------------------------------
+
+_interface_ Main 1
+_exports_
+Main main ;
+_declarations_
+1 main _:_ PrelIOBase.IO PrelBase.();;