aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/edebug-tests.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/edebug-tests.el b/test/lisp/emacs-lisp/edebug-tests.el
index d238bffdaa1..35259a796a0 100644
--- a/test/lisp/emacs-lisp/edebug-tests.el
+++ b/test/lisp/emacs-lisp/edebug-tests.el
@@ -1094,5 +1094,15 @@ This avoids potential duplicate definitions (Bug#41988)."
1094 (edebug-new-definition name)))) 1094 (edebug-new-definition name))))
1095 (should-error (eval-buffer) :type 'invalid-read-syntax)))) 1095 (should-error (eval-buffer) :type 'invalid-read-syntax))))
1096 1096
1097(ert-deftest edebug-tests-inline ()
1098 "Check that Edebug can instrument inline functions (Bug#53068)."
1099 (with-temp-buffer
1100 (print '(define-inline edebug-tests-inline (arg)
1101 (inline-quote ,arg))
1102 (current-buffer))
1103 (let ((edebug-all-defs t)
1104 (edebug-initial-mode 'Go-nonstop))
1105 (eval-buffer))))
1106
1097(provide 'edebug-tests) 1107(provide 'edebug-tests)
1098;;; edebug-tests.el ends here 1108;;; edebug-tests.el ends here