X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fpackages.impure.lisp;h=82b6e3c4f4721956b7ae1c5a2658857b063f2f5c;hb=134fa6b3f7c5f4bb0652e74227d940a9e7a83563;hp=b7e22b0082e361d2252ca6ca614bf134337696f2;hpb=93c8158fd4996e2a7184eb0f8d63812a7bc2562c;p=sbcl.git diff --git a/tests/packages.impure.lisp b/tests/packages.impure.lisp index b7e22b0..82b6e3c 100644 --- a/tests/packages.impure.lisp +++ b/tests/packages.impure.lisp @@ -6,7 +6,7 @@ ;;;; While most of SBCL is derived from the CMU CL system, the test ;;;; files (like this one) were written from scratch after the fork ;;;; from CMU CL. -;;;; +;;;; ;;;; This software is in the public domain and is provided with ;;;; absolutely no warranty. See the COPYING and CREDITS files for ;;;; more information. @@ -22,4 +22,10 @@ (package-error (c) (princ c)) (:no-error (&rest args) (error "(EXPORT :FOO) returned ~S" args))) -(sb-ext:quit :unix-status 104) +(make-package "FOO") +(assert (shadow #\a :foo)) + +(defpackage :PACKAGE-DESIGNATOR-1 (:use #.(find-package :cl))) + +(defpackage :PACKAGE-DESIGNATOR-2 + (:import-from #.(find-package :cl) "+"))