diff options
author | chessai <chessai1996@gmail.com> | 2018-10-02 14:46:08 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-10-02 16:00:19 +0200 |
commit | abfb91fb0ea27eb618f297b1d3ba60cfa021afe0 (patch) | |
tree | f35b012fb723e44c015a97c69c128019755fd580 /testsuite/tests/module/T13704.hs | |
parent | caffff1238097821cd2879f7285010a6565afd52 (diff) | |
download | haskell-abfb91fb0ea27eb618f297b1d3ba60cfa021afe0.tar.gz |
resolve T13704
Summary: allow -main-is to change export list for default module
header, allowing one to change the entry point to one's program.
Test Plan: ./validate
Reviewers: bgamari, nomeata, mpickering
Reviewed By: mpickering
Subscribers: mpickering, rwbarton, carter
GHC Trac Issues: #13704
Differential Revision: https://phabricator.haskell.org/D5189
Diffstat (limited to 'testsuite/tests/module/T13704.hs')
-rw-r--r-- | testsuite/tests/module/T13704.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/module/T13704.hs b/testsuite/tests/module/T13704.hs new file mode 100644 index 0000000000..38b1cb73fc --- /dev/null +++ b/testsuite/tests/module/T13704.hs @@ -0,0 +1,3 @@ +program = return () + +-- meant to be compiled with 'ghc -main-is Main.program T13704.hs' |