aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index 13df5912eef..f93c3bdc40f 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -286,7 +286,14 @@
286 (t))) 286 (t)))
287 (let ((a)) 287 (let ((a))
288 (cond ((eq a 'foo) 'incorrect) 288 (cond ((eq a 'foo) 'incorrect)
289 ('correct)))) 289 ('correct)))
290 ;; Bug#31734
291 (let ((variable 0))
292 (cond
293 ((eq variable 'default)
294 (message "equal"))
295 (t
296 (message "not equal")))))
290 "List of expression for test. 297 "List of expression for test.
291Each element will be executed by interpreter and with 298Each element will be executed by interpreter and with
292bytecompiled code, and their results compared.") 299bytecompiled code, and their results compared.")