This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test case for #8064.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 10 Dec 2000 03:44:52 +0000 (03:44 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 10 Dec 2000 03:44:52 +0000 (03:44 +0000)
p4raw-id: //depot/perl@8065

t/comp/proto.t

index 4c5b5ee..845843a 100755 (executable)
@@ -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";