about summary refs log tree commit diff stats
path: root/subx/072slice.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/072slice.subx')
-rw-r--r--subx/072slice.subx7
1 files changed, 7 insertions, 0 deletions
diff --git a/subx/072slice.subx b/subx/072slice.subx
index 3b948d60..fa244219 100644
--- a/subx/072slice.subx
+++ b/subx/072slice.subx
@@ -565,6 +565,13 @@ test-write-stream-buffered:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
+    # . clear-stream(_test-tmp-stream)
+    # . . push args
+    68/push  _test-tmp-stream/imm32
+    # . . call
+    e8/call  clear-stream/disp32
+    # . . discard args
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
     # initialize input
     # . write(_test-tmp-stream, "abcd")
     # . . push args