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
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ansi-test
ansi-test
Commits
43e4bbf2
Commit
43e4bbf2
authored
Apr 27, 2006
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests of (ignorable (function (setf <symbol>)))
parent
0c8e9206
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
ansi-tests/ignorable.lsp
ansi-tests/ignorable.lsp
+31
-0
No files found.
ansi-tests/ignorable.lsp
View file @
43e4bbf2
...
...
@@ -23,3 +23,34 @@
(declare (ignorable (function %f)))
(%f))
foo)
;;; TODO: add a test for (function (setf foo))
(deftest ignorable.5
(flet (((setf %f) (x y) nil))
(declare (ignorable (function (setf %f))))
:good)
:good)
(deftest ignorable.6
(flet (((setf %f) (x y) (setf (car y) x)))
(declare (ignorable (function (setf %f))))
(let ((z (cons 'a 'b)))
(values (setf (%f z) 'c) z)))
c (c . b))
(deftest ignorable.7
(labels (((setf %f) (x y) nil))
(declare (ignorable (function (setf %f))))
:good)
:good)
(deftest ignorable.8
(labels (((setf %f) (x y) (setf (car y) x)))
(declare (ignorable (function (setf %f))))
(let ((z (cons 'a 'b)))
(values (setf (%f z) 'c) z)))
c (c . b))
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