Files
mercury/tests/declarative_debugger/mapinit.exp
Zoltan Somogyi ecb5e4a9e6 Update the style of many test cases.
tests/declarative_debugger/*.m:
tests/exceptions/*.m:
tests/general/*.m:
tests/grade_subdirs/*.m:
tests/purity/*.m:
tests/submodules/*.m:
tests/typeclasses/*.m:
    Update programming style.

tests/declarative_debugger/*.inp:
    Update line numbers in breakpoint commands.
tests/declarative_debugger/*.exp:
    Update expected line numbers.

tests/exceptions/Mercury.options:
tests/general/Mercury.options:
    Disable some warnings that are irrelevant to the test.
2021-07-25 23:26:17 +10:00

15 lines
468 B
Plaintext

E1: C1 CALL pred mapinit.main/2-0 (det) mapinit.m:32
mdb> echo on
Command echo enabled.
mdb> step
E2: C2 CALL pred mapinit.xmap_init/1-0 (det) mapinit.m:39 (mapinit.m:33)
mdb> finish
E3: C2 EXIT pred mapinit.xmap_init/1-0 (det) mapinit.m:39 (mapinit.m:33)
mdb> dd -d 3 -n 7
xmap_init(empty)
Valid? q
Diagnosis aborted.
E3: C2 EXIT pred mapinit.xmap_init/1-0 (det) mapinit.m:39 (mapinit.m:33)
mdb> c
two(0, "zero", empty, empty)