Skip to content
GitLab
Projects
Groups
Snippets
/
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
c2a12a17
Commit
c2a12a17
authored
Nov 04, 2005
by
pfdietz
Browse files
Test that constantp looks at the right macro (using the environment), if it expands macros
parent
6a9959f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/constantp.lsp
View file @
c2a12a17
...
...
@@ -64,6 +64,20 @@
(notnot-mv (constantp 'pi))
t)
(defmacro macro-for-constantp.11 (x) x)
(deftest constantp.11
(macrolet ((macro-for-constantp.11 (y)
(declare (ignore y))
*standard-input*))
(macrolet ((%m (&environment env)
(if (constantp '(macro-for-constantp.11 0) env)
:bad
:good)))
(%m)))
:good)
(deftest constantp.order.1
(let ((i 0))
(values
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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