1.0.9.11: even faster SLOT-VALUE &co
[sbcl.git] / tests / symbol.pure.lisp
blobb7f3f2652b826f877be88193877856a108e7c861
1 ;;;; miscellaneous tests of SYMBOL-related stuff
3 ;;;; This software is part of the SBCL system. See the README file for
4 ;;;; more information.
5 ;;;;
6 ;;;; While most of SBCL is derived from the CMU CL system, the test
7 ;;;; files (like this one) were written from scratch after the fork
8 ;;;; from CMU CL.
9 ;;;;
10 ;;;; This software is in the public domain and is provided with
11 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
12 ;;;; more information.
14 (in-package "CL-USER")
16 ;;; Reported by Paul F. Dietz
17 (with-test (:name (:symbol :non-simple-string-name))
18 (let ((sym (make-symbol (make-array '(1) :element-type 'character
19 :adjustable t :initial-contents "X"))))
20 (assert (simple-string-p (symbol-name sym)))
21 (print sym (make-broadcast-stream))))