racket/compiler-test/tests/compiler/embed/embed-planet-1/dyn-sub.rkt
2014-12-02 09:30:05 -05:00

9 lines
323 B
Racket

#lang racket/base
(require (submod (planet racket-tester/p1/has-sub) the-sub))
(with-output-to-file (build-path (find-system-path 'temp-dir) "stdout")
#:exists 'append
(lambda () (displayln (dynamic-require
'(submod (planet racket-tester/p1/has-sub) the-sub)
'out))))