summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/RunMode.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-04-03 13:35:09 -0400
committerBen Gamari <ben@smart-cactus.org>2021-07-28 18:37:44 -0400
commit9c08cc9e522dbb4e3691067f5d11a731e09cd638 (patch)
treee6ce67b572c455fe699e071431863210870b42dc /testsuite/tests/driver/RunMode.hs
parent10678945c1d3261273a1d7a389d14a69f4e28567 (diff)
downloadhaskell-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.hs')
-rw-r--r--testsuite/tests/driver/RunMode.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/driver/RunMode.hs b/testsuite/tests/driver/RunMode.hs
new file mode 100644
index 0000000000..bad01fef39
--- /dev/null
+++ b/testsuite/tests/driver/RunMode.hs
@@ -0,0 +1,4 @@
+import Test
+
+main :: IO ()
+main = test