projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.9.17.15: silence %SAP-ALIEN compiler-note for MAKE-ALIEN in default policy
[sbcl.git]
/
tests
/
alien.impure.lisp
diff --git
a/tests/alien.impure.lisp
b/tests/alien.impure.lisp
index
6c6b002
..
4619da3
100644
(file)
--- a/
tests/alien.impure.lisp
+++ b/
tests/alien.impure.lisp
@@
-163,4
+163,8
@@
(sb-alien:deref (sb-alien:slot a1 'u) 8)
(sb-alien:deref (sb-alien:slot a1 'u) 9)))))
+(handler-bind ((compiler-note (lambda (c)
+ (error "bad note! ~A" c))))
+ (funcall (compile nil '(lambda () (sb-alien:make-alien sb-alien:int)))))
+
;;; success