/trunk/Examples/test-suite/chicken/li_typemaps_runme_proxy.ss
# · Scheme · 13 lines · 11 code · 2 blank · 0 comment · 0 complexity · 36677e87d2141cc4154d14cb50697bf3 MD5 · raw file
- (require 'li_typemaps)
- (load "../schemerunme/li_typemaps_proxy.scm")
- (call-with-values (lambda () (inoutr-int2 3 -2))
- (lambda (a b)
- (if (not (and (= a 3) (= b -2)))
- (error "Error in inoutr-int2"))))
- (call-with-values (lambda () (out-foo 4))
- (lambda (a b)
- (if (not (and (= (slot-ref a 'a) 4) (= b 8)))
- (error "Error in out-foo"))))
- (exit 0)