;;;; 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.
(declaim (ftype (function (real) (values integer single-float)) valuesify))
(defun valuesify (x)
(values (round x)
- (coerce x 'single-float)))
+ (coerce x 'single-float)))
(defun exercise-valuesify (x)
(multiple-value-bind (i f) (valuesify x)
(declare (type integer i))
(when (consp (aref x 0))
(aref x 0)))
(assert (raises-error?
- (array-element-type-handling
- (make-array 3 :element-type t :initial-element 0))
- type-error))
+ (array-element-type-handling
+ (make-array 3 :element-type t :initial-element 0))
+ type-error))
;;; bug 220: type check inserted after all arguments in MV-CALL caused
;;; failure of stack analysis
(assert (raises-error? (bug231b 0 0) type-error))
;;; A bug appeared in flaky7_branch. Python got lost in unconverting
-;;; embedded tail calls during let-convertion.
+;;; embedded tail calls during let-conversion.
(defun bug239 (bit-array-2 &optional result-bit-array)
(declare (type (array bit) bit-array-2)
(type (or (array bit) (member t nil)) result-bit-array))
(find-class 'some-structure nil))
(eval-when (:load-toplevel)
(assert (typep (find-class 'some-structure) 'class)))
-
-(sb-ext:quit :unix-status 104) ; success