summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/comp/proto.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/comp/proto.t b/t/comp/proto.t
index 4c5b5eee83..845843ad64 100755
--- a/t/comp/proto.t
+++ b/t/comp/proto.t
@@ -19,7 +19,7 @@ BEGIN {
use strict;
-print "1..122\n";
+print "1..123\n";
my $i = 1;
@@ -498,3 +498,7 @@ for my $p ( "", qw{ () ($) ($@) ($%) ($;$) (&) (&\@) (&@) (%) (\%) (\@) } ) {
print "# eval[$eval]\nnot " unless $@ && $@ =~ /syntax error/;
print "ok ", $i++, "\n";
}
+
+# Not $$;$;$
+print "not " unless prototype "CORE::substr" eq '$$;$$';
+print "ok ", $i++, "\n";