Merge commit '40a723a92236fe4e58feb89057b4182b1fc76810'
[bpt/guile.git] / test-suite / vm / t-global-bindings.scm
CommitLineData
0b5f0e49
LC
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