Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
3642f0bf
Commit
3642f0bf
authored
May 21, 2005
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PROCLAIM tests
parent
c357adcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
2 deletions
+46
-2
ansi-tests/load-eval-and-compile.lsp
ansi-tests/load-eval-and-compile.lsp
+1
-2
ansi-tests/proclaim.lsp
ansi-tests/proclaim.lsp
+45
-0
No files found.
ansi-tests/load-eval-and-compile.lsp
View file @
3642f0bf
...
...
@@ -11,6 +11,5 @@
(load "defmacro.lsp")
(load "the.lsp")
(load "symbol-macrolet.lsp")
(load "proclaim.lsp")
(load "locally.lsp")
ansi-tests/proclaim.lsp
0 → 100644
View file @
3642f0bf
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Sat May 21 07:33:53 2005
;;;; Contains: Tests of PROCLAIM
(in-package :cl-test)
(deftest proclaim.1
(let ((sym (gensym)))
(proclaim `(special ,sym))
(eval `(flet ((%f () ,sym))
(let ((,sym :good)) (%f)))))
:good)
;;; Error cases
(deftest proclaim.error.1
(signals-error (proclaim) program-error)
t)
(deftest proclaim.error.2
(signals-error (proclaim '(optimize) nil) program-error)
t)
(deftest proclaim.error.3
(signals-error (proclaim `(optimize . foo)) type-error)
t)
(deftest proclaim.error.4
(signals-error (proclaim `(inline . foo)) type-error)
t)
(deftest proclaim.error.5
(signals-error (proclaim `(notinline . foo)) type-error)
t)
(deftest proclaim.error.6
(signals-error (proclaim `(type . foo)) type-error)
t)
(deftest proclaim.error.7
(signals-error (proclaim `(ftype . foo)) type-error)
t)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment