summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/edebug-resources
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/emacs-lisp/edebug-resources')
-rw-r--r--test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el b/test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
index f8ca39c8c6e..d77df3c3c51 100644
--- a/test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
+++ b/test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
@@ -137,5 +137,15 @@
,(cons func args))))
(wrap + 1 x)))
+(defun edebug-test-code-cl-flet1 ()
+ (cl-flet
+ ;; This `&rest' sexp head should not collide with
+ ;; the Edebug spec elem of the same name.
+ ((f (&rest x) x)
+ (gate (x) (+ x 5)))
+ ;; This call to `gate' shouldn't collide with the Edebug spec elem
+ ;; of the same name.
+ (message "Hi %s" (gate 7))))
+
(provide 'edebug-test-code)
;;; edebug-test-code.el ends here