aboutsummaryrefslogtreecommitdiffstats
path: root/test/dbugtypedre2.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-26 11:29:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-26 11:29:56 +0300
commite81708082f8b3526fb10f9599d1368dfab6d25e7 (patch)
tree4a16d3f905b1a751c3db02526de1e92fbdf635af /test/dbugtypedre2.ok
parent3712ad29b6cddcf49bf1507f5677a49ccfcff83d (diff)
downloadegawk-e81708082f8b3526fb10f9599d1368dfab6d25e7.tar.gz
egawk-e81708082f8b3526fb10f9599d1368dfab6d25e7.tar.bz2
egawk-e81708082f8b3526fb10f9599d1368dfab6d25e7.zip
Add new debugger test.
Diffstat (limited to 'test/dbugtypedre2.ok')
-rw-r--r--test/dbugtypedre2.ok15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/dbugtypedre2.ok b/test/dbugtypedre2.ok
new file mode 100644
index 00000000..9c04e1e7
--- /dev/null
+++ b/test/dbugtypedre2.ok
@@ -0,0 +1,15 @@
+Watchpoint 1: x
+Starting program:
+Stopping in BEGIN ...
+Watchpoint 1: x
+ Old value: untyped variable
+ New value: 0
+main() at `dbugtypedre2.awk':1
+1 BEGIN { x = 0; x = @/[a-z]/; x = "" }
+Watchpoint 1: x
+ Old value: 0
+ New value: @/[a-z]/
+main() at `dbugtypedre2.awk':1
+1 BEGIN { x = 0; x = @/[a-z]/; x = "" }
+Program exited normally with exit value: 0
+EXIT CODE: 2