source: trunk/abcl/t/eg/without-use-cl.lisp

Last change on this file was 15482, checked in by Mark Evenson, 3 years ago

Test COMPILE-FILE/LOAD machinery in pathological situations

File size: 401 bytes
Line 
1(cl:defpackage :without-use-cl)
2(cl:in-package :without-use-cl)
3
4(cl:defvar *foo* cl:nil "A var")
5
6(cl:defun test ()
7  (cl:let* ((p1 (cl:make-pathname))
8         (p2 cl:*default-pathname-defaults*)
9         (p3 (cl:merge-pathnames p1)))
10    (cl:values (cl:pathname-device p2) (cl:pathname-device p3))))
11
12(cl:eval-when (:compile-toplevel :load-toplevel)
13  (cl:let ((a 2))
14    (cl:defparameter *a* a)))
Note: See TracBrowser for help on using the repository browser.