0.8.7.10:
[sbcl/lichteblau.git] / tests / type.after-xc.lisp
blob5bbf2aacb335d993343d016596cb21f4fcb654b3
1 ;;;; tests of the type system, intended to be executed in the
2 ;;;; cross-compiler after cross-compilation
4 ;;;; This software is part of the SBCL system. See the README file for
5 ;;;; more information.
6 ;;;;
7 ;;;; While most of SBCL is derived from the CMU CL system, the test
8 ;;;; files (like this one) were written from scratch after the fork
9 ;;;; from CMU CL.
10 ;;;;
11 ;;;; This software is in the public domain and is provided with
12 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
13 ;;;; more information.
15 (in-package "SB!KERNEL")
17 (/show "beginning tests/type.after-xc.lisp")
19 ;;; various dead bugs
20 (assert (eql *empty-type*
21 (type-intersection *empty-type*
22 (specifier-type 'keyword))))
23 (assert (eql *empty-type*
24 (type-intersection (specifier-type 'keyword)
25 *empty-type*)))
26 (assert (member-type-p (specifier-type '(or float-format null))))
28 (/show "done with tests/type.after-xc.lisp")