summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/listCommand001.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/listCommand001.stdout')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/listCommand001.stdout15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/listCommand001.stdout b/testsuite/tests/ghci.debugger/scripts/listCommand001.stdout
new file mode 100644
index 0000000000..26a27ac5a5
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/listCommand001.stdout
@@ -0,0 +1,15 @@
+Not stopped at a breakpoint; nothing to list
+module 'Data.List' is from another package;
+this command requires an interpreted module
+cannot list source code for map: module GHC.Base is not interpreted
+1 mymap f [] = []
+2 mymap f (x:xs) = f x:mymap f xs
+3
+3
+4 main = mapM_ putStrLn $ mymap ('a':) ["hello","bye"]
+5
+3
+4 main = mapM_ putStrLn $ mymap ('a':) ["hello","bye"]
+5
+syntax: :list [<line> | <module> <line> | <identifier>]
+syntax: :list [<line> | <module> <line> | <identifier>]