x86-64: put vector widetag and maybe length w/byte-sized store
[sbcl.git] / tests / mop-7.impure-cload.lisp
blob57dff0d144a112d9167c804fbc5e0fbf4240f9c3
1 ;;;; miscellaneous side-effectful tests of the MOP
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 ;;; This file contains the simplest test that the multiple subclasses
15 ;;; of generic function metacircle is gone.
17 (defpackage "MOP-7"
18 (:use "CL" "SB-MOP" "TEST-UTIL"))
20 (in-package "MOP-7")
22 (defclass g1 (standard-generic-function)
24 (:metaclass funcallable-standard-class))
25 (defclass g2 (standard-generic-function)
27 (:metaclass funcallable-standard-class))
29 (defgeneric f1 ()
30 (:generic-function-class g1))
31 (defgeneric f2 ()
32 (:generic-function-class g2))
34 (print #'f1)
35 (print #'f2)