aboutsummaryrefslogtreecommitdiffstats
path: root/test/automated
diff options
context:
space:
mode:
authorDaniel Colascione <[email protected]>2014-04-20 18:03:39 -0700
committerDaniel Colascione <[email protected]>2014-04-20 18:03:39 -0700
commit2fa1b97db098c04810763e742e956c63b9527989 (patch)
tree56356f808c0cb021e3f254903255700f1f78e10e /test/automated
parente8a77f2423f5e66e040a40a1d57aec640cc08dcf (diff)
Fix cl-loop destructuring under `with' clause
Diffstat (limited to 'test/automated')
-rw-r--r--test/automated/cl-lib.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/automated/cl-lib.el b/test/automated/cl-lib.el
index a0df07e54e..2c73c82ba9 100644
--- a/test/automated/cl-lib.el
+++ b/test/automated/cl-lib.el
@@ -220,4 +220,7 @@
(should (= (the integer (incf sideffect)) 1))
(should (= sideffect 1))))
+(ert-deftest cl-loop-destructuring-with ()
+ (should (equal (cl-loop with (a b c) = '(1 2 3) return (+ a b c)) 6)))
+
;;; cl-lib.el ends here