Incrementally store debug source positions.
[sbcl.git] / tests / mop-14.impure-cload.lisp
blobe2af7fccf4c6075931259dba684919ce13d91292
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 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)
20 (defpackage :dc
21 (:use
22 #:cl
23 #:sb-mop))
25 (in-package :dc)
27 (defclass dwim-slot-definition
28 (standard-slot-definition)
29 ())
31 (defclass dwim-direct-slot-definition
32 (standard-direct-slot-definition dwim-slot-definition)
33 ())
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 ())
43 (defclass dwim-attribute-effective-slot-definition
44 (dwim-effective-slot-definition dwim-attribute-slot-definition)
45 ())
47 (defclass dwim-attribute-direct-slot-definition
48 (dwim-direct-slot-definition dwim-attribute-slot-definition)
49 ())
51 (defclass extra-effective-slot-definition ()
52 ())