Commit cf265a3c authored by Simon Marlow's avatar Simon Marlow
Browse files

add a couple more tests

parent f227b8ea
......@@ -27,6 +27,8 @@ test('break002', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_scri
test('break003', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['break003.script'])
test('break005', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['break005.script'])
test('break006', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['break006.script'])
test('break007', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['break007.script'])
test('break008', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['break008.script'])
test('dynbrk001', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['dynbrk001.script'])
test('dynbrk002', extra_run_opts('-fno-warn-monomorphism-restriction'), ghci_script, ['dynbrk002.script'])
......
:!rm -f ../Test3.{o,hi}
:set -fobject-code
:l ../Test3
:b 1
-- can't set a breakpoint in a compiled module
:!rm -f ../Test3.{o,hi}
:l ../Test3
:b 1
mymap id []
-- second load, should discard the breakpoints without blowing up
:l ../Test3.hs
Breakpoint 0 activated at ../Test3.hs:1:13-14
Stopped at ../Test3.hs:1:13-14
_result :: [a]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment