Fix make-array transforms.
[sbcl.git] / tests / mop-14.impure-cload.lisp
1 ;;;; miscellaneous side-effectful tests of the MOP
2
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.
13
14 ;;; this file attempts to test the computation of final discriminating
15 ;;; functions for slot-valuish generic functions in the presence of
16 ;;; large hierarchies of slot definitions with a forward-referenced
17 ;;; superclass.  (This used to fail in cache-filling code: see reports
18 ;;; from Levente Mészáros sbcl-devel 2006-04-19)
19
20 (defpackage :dc
21   (:use
22     #:cl
23     #:sb-mop))
24
25 (in-package :dc)
26
27 (defclass dwim-slot-definition
28   (standard-slot-definition)
29   ())
30
31 (defclass dwim-direct-slot-definition
32   (standard-direct-slot-definition dwim-slot-definition)
33   ())
34
35 (defclass dwim-effective-slot-definition
36   (extra-effective-slot-definition
37    standard-effective-slot-definition dwim-slot-definition)
38   ())
39 (defclass dwim-attribute-slot-definition
40   (dwim-slot-definition)
41   ())
42
43 (defclass dwim-attribute-effective-slot-definition
44   (dwim-effective-slot-definition dwim-attribute-slot-definition)
45   ())
46
47 (defclass dwim-attribute-direct-slot-definition
48   (dwim-direct-slot-definition dwim-attribute-slot-definition)
49   ())
50
51 (defclass extra-effective-slot-definition ()
52   ())