diff --git a/tst/test-error/last-access.g b/tst/test-error/last-access.g new file mode 100644 index 0000000000..efd02bfff5 --- /dev/null +++ b/tst/test-error/last-access.g @@ -0,0 +1,3 @@ +1;2;3;[last,last2,last3]; +Error("err"); +1;2;3;[last,last2,last3]; diff --git a/tst/test-error/last-access.g.out b/tst/test-error/last-access.g.out new file mode 100644 index 0000000000..3a9778b633 --- /dev/null +++ b/tst/test-error/last-access.g.out @@ -0,0 +1,16 @@ +gap> 1;2;3;[last,last2,last3]; +1 +2 +3 +[ 3, 2, 1 ] +gap> Error("err"); +Error, err called from +not in any function at *stdin*:3 +you can 'quit;' to quit to outer loop, or +you can 'return;' to continue +brk> 1;2;3;[last,last2,last3]; +1 +2 +3 +[ 3, 2, 1 ] +brk> QUIT;