X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fsmoke.impure.lisp;h=5f59c48feddec8db3ee1a1cf9fd8a34a447dc5df;hb=df679ed627975948b1cee190f4d79c397588c43e;hp=ff7d4d9889dcc943b17dcb9e0e0c72416523ce46;hpb=08cc6ef646857381452e814cda8e68fccc464f96;p=sbcl.git diff --git a/tests/smoke.impure.lisp b/tests/smoke.impure.lisp index ff7d4d9..5f59c48 100644 --- a/tests/smoke.impure.lisp +++ b/tests/smoke.impure.lisp @@ -29,5 +29,16 @@ (describe '(a list)) (describe #(a vector)) +;;; COPY-SYMBOL should work without signalling an error, even if the +;;; symbol is unbound. +(copy-symbol 'foo) +(copy-symbol 'bar t) +(defvar *baz* nil) +(copy-symbol '*baz* t) + +;;; SETQ should return its value. +(assert (typep (setq *baz* 1) 'integer)) +(assert (typep (in-package :cl-user) 'package)) + ;;; success (quit :unix-status 104)