projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.5.5: &ENVIRONMENT fixes
[sbcl.git]
/
tests
/
compiler.impure.lisp
diff --git
a/tests/compiler.impure.lisp
b/tests/compiler.impure.lisp
index
6b01a47
..
4dd6b02
100644
(file)
--- a/
tests/compiler.impure.lisp
+++ b/
tests/compiler.impure.lisp
@@
-1416,4
+1416,14
@@
(program-error ()
:ok))))
(program-error ()
:ok))))
+;;; ignore &environment
+(handler-bind ((style-warning #'error))
+ (compile nil '(lambda ()
+ (defmacro macro-ignore-env (&environment env)
+ (declare (ignore env))
+ :foo)))
+ (compile nil '(lambda ()
+ (defmacro macro-no-env ()
+ :foo))))
+
;;; success
;;; success