summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/Test3.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/Test3.hs')
-rw-r--r--testsuite/tests/ghci.debugger/Test3.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/Test3.hs b/testsuite/tests/ghci.debugger/Test3.hs
new file mode 100644
index 0000000000..3bb7bd629b
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/Test3.hs
@@ -0,0 +1,4 @@
+mymap f [] = []
+mymap f (x:xs) = f x:mymap f xs
+
+main = mapM_ putStrLn $ mymap ('a':) ["hello","bye"]