summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-17 22:04:39 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-18 11:41:27 +0200
commit32a1c8b32efe22d957539b94c0dd69d202e34754 (patch)
tree228232082e46264ec5e7672520680f19e555cb5b
parentf3e77debaacf3e967c046d77169c529790ff1fc9 (diff)
init.lisp: Test SETQ.
-rw-r--r--init.lisp8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.lisp b/init.lisp
index 90a4911..8114103 100644
--- a/init.lisp
+++ b/init.lisp
@@ -43,6 +43,14 @@
(ns-log (test9 1 2 3))
(%fset 'test10 (compile '(sys::%lambda args (cons 1 2))))
(ns-log (test10))
+(%fset 'test11 (compile '(sys::%lambda args
+ (let ((x 'outer))
+ (let ((x 'inner))
+ (ns-log x)
+ (setq x 'new-inner)
+ (ns-log x))
+ (ns-log x)))))
+(test11)
;; (load "util.lisp")
;; (load "defun-0.lisp")