summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-tests.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-08-08 12:39:11 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-08-08 12:39:11 +0200
commite763c8947a55bfff703427b9bb0524638e5d7eae (patch)
tree186b35800785f76b91a0516960b22a01c2302854 /test/lisp/emacs-lisp/bytecomp-tests.el
parent80cccd7ff15d254cb412e9939e27a348fbaa0425 (diff)
parentadab672edb3fad0851a52e3b6ccf3ac31c80b025 (diff)
downloademacs-e763c8947a55bfff703427b9bb0524638e5d7eae.tar.gz
emacs-e763c8947a55bfff703427b9bb0524638e5d7eae.tar.bz2
emacs-e763c8947a55bfff703427b9bb0524638e5d7eae.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index 5aa853c7212..80003c264a2 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -432,6 +432,15 @@
(let ((x 2))
(list (or (bytecomp-test-identity 'a) (setq x 3)) x))
+ (mapcar (lambda (b)
+ (let ((a nil))
+ (+ 0
+ (progn
+ (setq a b)
+ (setq b 1)
+ a))))
+ '(10))
+
(let* ((x 1)
(y (condition-case x
(/ 1 0)