diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-04-03 13:35:09 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-07-28 18:37:44 -0400 |
commit | 9c08cc9e522dbb4e3691067f5d11a731e09cd638 (patch) | |
tree | e6ce67b572c455fe699e071431863210870b42dc /testsuite/tests/driver/RunMode/Test.hs | |
parent | 10678945c1d3261273a1d7a389d14a69f4e28567 (diff) | |
download | haskell-wip/run-mode.tar.gz |
ghc: Introduce --run modewip/run-mode
As described in #18011, this mode provides similar functionality to the
`runhaskell` command, but doesn't require that the user know the path of
yet another executable, simplifying interactions with upstream tools.
Diffstat (limited to 'testsuite/tests/driver/RunMode/Test.hs')
-rw-r--r-- | testsuite/tests/driver/RunMode/Test.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/driver/RunMode/Test.hs b/testsuite/tests/driver/RunMode/Test.hs new file mode 100644 index 0000000000..125535e437 --- /dev/null +++ b/testsuite/tests/driver/RunMode/Test.hs @@ -0,0 +1,7 @@ +module Test (test) where + +import System.Environment + +test :: IO () +test = do + print =<< getArgs |