summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/getargs.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/getargs.hs')
-rw-r--r--testsuite/tests/ghci.debugger/getargs.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/getargs.hs b/testsuite/tests/ghci.debugger/getargs.hs
new file mode 100644
index 0000000000..62208f7bf7
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/getargs.hs
@@ -0,0 +1,3 @@
+import System.Environment
+
+main = getArgs >>= print