1.0.19.33: Improved interrupt handling on darwin/x86[-64]
[sbcl/eslaughter.git] / tests / info.before-xc.lisp
blob34ed298e4911488540bd1aad2ed03edfb7224b43
1 ;;;; tests of the INFO compiler database, initially with particular
2 ;;;; reference to knowledge of constants, intended to be executed as
3 ;;;; soon as the cross-compiler is built.
5 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; more information.
7 ;;;;
8 ;;;; While most of SBCL is derived from the CMU CL system, the test
9 ;;;; files (like this one) were written from scratch after the fork
10 ;;;; from CMU CL.
11 ;;;;
12 ;;;; This software is in the public domain and is provided with
13 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
14 ;;;; more information.
16 (in-package "SB!KERNEL")
18 (/show "beginning tests/info.before-xc.lisp")
20 (assert (eq (sb!int:info :variable :kind 'sb!vm:vector-data-offset)
21 :constant))
22 ;;; It's possible in general for a constant to have the value NIL, but
23 ;;; not for vector-data-offset, which must be a number:
24 (assert (boundp 'sb!vm:vector-data-offset))
25 (assert (integerp (symbol-value 'sb!vm:vector-data-offset)))
27 (/show "done with tests/info.before-xc.lisp")