~ chicken-core (chicken-5) /tests/reexport-tests-2.scm
Trap1;;; export of syntax referring to reexported syntax binding2(import reexport-m4)3(print (baz))45;;; reexport of renamed syntax6(import reexport-m6)7(f:s1) ; expands to s2, which is reexported and refers to "s2", which is also visible in this context as "f:s2"8(f:s2)910;; reexport of syntax using shadowed identifiers in new module (#1757)11(import reexport-m8)12(assert (equal? '(d c b a) (reexported-reverse '(a b c d))))13(assert (equal? '(d c b a) (reexported-local-reverse '(a b c d))))1415;; Regression test for #1771 where reexports would get ignored by16;; "except" specifier.17(import (except reexport-m10 define))18(define something 1) ;; If reexport messed up, this would be syntax from reexport-m9 expanding to (error ...)