Merge commit '32a2609de06af65341e6b4db6961557b788821e8' into vm-check
[bpt/guile.git] / testsuite / t-global-bindings.scm
1 ;; Are global bindings reachable at run-time? This relies on the
2 ;; `object-ref' and `object-set' instructions.
3
4 (begin
5
6 (define the-binding "hello")
7
8 ((lambda () the-binding))
9
10 ((lambda () (set! the-binding "world")))
11
12 ((lambda () the-binding)))
13