Abstract immediate loading on x86-64.
[sbcl.git] / tests / load.impure-cload.lisp
bloba47718461afff1198a041d25cc2d9d5cdb5834e7
1 ;;;; miscellaneous side-effectful tests of LOAD
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 (defvar *foo* '#:bar)
16 ;; INTERN always computes hashes, so the only thing we need to test
17 ;; is whether uninterned symbols always have a hash.
18 (with-test (:name :loader-computes-symbol-hash-always)
19 (assert (not (zerop (sb-kernel:symbol-hash *foo*)))))