File: bug204-test.lisp

package info (click to toggle)
sbcl 1%3A0.9.16.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,960 kB
  • ctags: 16,537
  • sloc: lisp: 231,164; ansic: 19,558; asm: 2,539; sh: 1,925; makefile: 308
file content (13 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;;; a test of EVAL-WHEN inside a local environment (which will be
;;;; compiled and loaded, and have its side effects checked, by some
;;;; other file which runs automatically as part of the test suite)

(cl:in-package :cl-user)

(macrolet ((def (x)
             (pushnew `(:expanded ,x) *bug204-test-status* :test #'equalp)
             `(pushnew `(:called ,',x) *bug204-test-status* :test #'equalp)))
  (eval-when (:compile-toplevel)
    (def :compile-toplevel))
  (eval-when (:load-toplevel)
    (def :load-toplevel)))