summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-12-06 18:07:27 +0100
committerAndrea Corallo <akrl@sdf.org>2020-12-06 18:07:27 +0100
commit715a1ca1744f9a5918376bf7662c81302f0b20c0 (patch)
treee6ea1ac67e88ead92df65087d3f41b8e544f5e86 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
parent27f666e111a34d64de81a214024e1e30928b416e (diff)
parent40e11743ca3803bdc2c6c612f35ab695efb3eb8b (diff)
downloademacs-715a1ca1744f9a5918376bf7662c81302f0b20c0.tar.gz
emacs-715a1ca1744f9a5918376bf7662c81302f0b20c0.tar.bz2
emacs-715a1ca1744f9a5918376bf7662c81302f0b20c0.zip
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el b/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
new file mode 100644
index 00000000000..5f390898e6a
--- /dev/null
+++ b/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
@@ -0,0 +1,4 @@
+;;; -*- lexical-binding: t; -*-
+(let ((foo nil))
+ (add-hook 'foo #'next-line)
+ foo)