This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cproto.t: Add tests for BEGIN, etc.
authorFather Chrysostomos <sprout@cpan.org>
Sun, 22 Apr 2012 01:55:38 +0000 (18:55 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 22 May 2012 04:30:30 +0000 (21:30 -0700)
t/op/cproto.t

index 8727897..a6dc210 100644 (file)
@@ -7,7 +7,7 @@ BEGIN {
 }
 
 BEGIN { require './test.pl'; }
-plan tests => 248;
+plan tests => 254;
 
 while (<DATA>) {
     chomp;
@@ -36,7 +36,13 @@ __PACKAGE__ ()
 __DATA__ undef
 __END__ undef
 __SUB__ ()
+AUTOLOAD undef
+BEGIN undef
 CORE unknown
+DESTROY undef
+END undef
+INIT undef
+CHECK undef
 abs (_)
 accept (**)
 alarm (_)