update letrec compilation test
authorAndy Wingo <wingo@pobox.com>
Fri, 11 Nov 2011 15:39:28 +0000 (16:39 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 11 Nov 2011 15:39:28 +0000 (16:39 +0100)
* test-suite/tests/tree-il.test ("letrec"): Update to clear the
  temporary `let' bindings.

test-suite/tests/tree-il.test

index e9ac34f..5e02bd1 100644 (file)
             (call new-frame 0) (toplevel ref bar) (call call 0)
             (bind (x #f 2) (y #f 3)) (lexical #t #f set 3) (lexical #t #f set 2)
             (lexical #t #f ref 2) (lexical #t #t set 0)
-            (lexical #t #f ref 3) (lexical #t #t set 1) (unbind)
+            (lexical #t #f ref 3) (lexical #t #t set 1)
+            (void) (lexical #t #f set 2) (void) (lexical #t #f set 3) ;; clear bindings
+            (unbind)
             (lexical #t #t ref 0) (lexical #t #t ref 1)
             (call add 2) (call return 1) (unbind)))