0.8alpha.0.32:
[sbcl.git] / tests / smoke.impure.lisp
index ff7d4d9..5f59c48 100644 (file)
 (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)