Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
804f2b8e
Commit
804f2b8e
authored
May 21, 2006
by
pfdietz
Browse files
Added tests for free declarations in macrolet
parent
0c85f05e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/macrolet.lsp
View file @
804f2b8e
...
...
@@ -420,5 +420,26 @@
(macrolet () (expand-in-current-env (%m :good))))
:good)
;;; Free declarations in macrolet
(deftest macrolet.47
(let ((x :good))
(declare (special x))
(let ((x :bad))
(macrolet () (declare (special x)) x)))
:good)
(deftest macrolet.48
(let ((x :good))
(let ((y :bad))
(macrolet () (declare (ignore y)) x)))
:good)
(deftest macrolet.49
(let ((x :good))
(let ((y :bad))
(macrolet () (declare (ignorable y)) x)))
:good)
;;; TODO: more special declarations for other macrolet arguments
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