Signal floating-point-overflow from bignum-to-float.
[sbcl.git] / tests / custom-userinit.lisp
blob4cbaa4e46b1de5562aa7826b65b5c0c69b31092b
1 ;;;; loaded by init.test.sh
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 (write-line "/loading custom userinit")
16 ;;; *load-pathname* and *load-truename* shouldn't be NIL
17 (assert (string= (pathname-name *load-pathname*) "custom-userinit"))
18 (assert *load-truename*)
20 (defun userinit-quit (x)
21 (sb-ext:exit :code x))