Add ARM files
[dh-make-perl] / dev / arm / libperl-critic-perl / libperl-critic-perl-1.088 / t / ClassHierarchies / ProhibitAutoloading.run
diff --git a/dev/arm/libperl-critic-perl/libperl-critic-perl-1.088/t/ClassHierarchies/ProhibitAutoloading.run b/dev/arm/libperl-critic-perl/libperl-critic-perl-1.088/t/ClassHierarchies/ProhibitAutoloading.run
new file mode 100644 (file)
index 0000000..531e6f2
--- /dev/null
@@ -0,0 +1,44 @@
+## name Basic passing
+## failures 0
+## cut
+
+sub autoload {}
+my $AUTOLOAD = 'foo';
+our @AUTOLOAD = qw(nuts);
+
+#-----------------------------------------------------------------------------
+
+## name Empty AUTOLOAD()
+## failures 1
+## cut
+
+sub AUTOLOAD {}
+
+#-----------------------------------------------------------------------------
+
+## name AUTOLOAD() with code
+## failures 1
+## cut
+
+sub AUTOLOAD {
+     $foo, $bar = @_;
+     return $baz;
+}
+
+#-----------------------------------------------------------------------------
+
+##############################################################################
+#      $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/Perl-Critic/t/ClassHierarchies/ProhibitAutoloading.run $
+#     $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
+#   $Author: clonezone $
+# $Revision: 2187 $
+##############################################################################
+
+# Local Variables:
+#   mode: cperl
+#   cperl-indent-level: 4
+#   fill-column: 78
+#   indent-tabs-mode: nil
+#   c-indentation-style: bsd
+# End:
+# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :