summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-04-15 12:15:14 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-04-15 12:15:14 -0400
commit66ae3cff960606f96818e085226e05457d98a3cf (patch)
treed8f4712f0547f630c19636e50b8a34328af36353 /test
parentcc4705f693471650a10ec51c8eb54c7ffe873045 (diff)
downloademacs-66ae3cff960606f96818e085226e05457d98a3cf.tar.gz
* src/lread.c (intern_1): Make sure we'd find the symbol we add
Fixes: debbugs:20334 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/perl.perl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl
index 00ef312f735..ea487543219 100755
--- a/test/indent/perl.perl
+++ b/test/indent/perl.perl
@@ -5,6 +5,15 @@ sub add_funds($) {
return 0;
}
+my $hash = {
+ foo => 'bar',
+ format => 'some',
+};
+
+sub some_code {
+ print "will not indent :(";
+};
+
use v5.14;
my $str= <<END;