]> code.delx.au - gnu-emacs/blobdiff - test/automated/cl-lib-tests.el
* lisp/emacs-lisp/cl-macs.el: Fix last change.
[gnu-emacs] / test / automated / cl-lib-tests.el
index bbfb8d1f1daf456c3e3b330d34bdb787ab397998..c83391b1cc5f15bef8373941b034d97e6d3ec94a 100644 (file)
 (ert-deftest cl-loop-destructuring-with ()
   (should (equal (cl-loop with (a b c) = '(1 2 3) return (+ a b c)) 6)))
 
+(ert-deftest cl-flet-test ()
+  (should (equal (cl-flet ((f1 (x) x)) (let ((x #'f1)) (funcall x 5))) 5)))
+
 ;;; cl-lib.el ends here