summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-30 17:17:39 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-05 18:14:03 -0700
commitca8ffed2a344aa5fb2f57f558b99f124fc128a98 (patch)
treec79817d3f6f55cebc565ff3f0ce76b2456e22034 /t
parent80524f33baf86baec21f7b20abc94177837e7848 (diff)
downloadperl-ca8ffed2a344aa5fb2f57f558b99f124fc128a98.tar.gz
Test ‘Missing name in "my sub"’
Diffstat (limited to 't')
-rw-r--r--t/lib/croak/toke5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib/croak/toke b/t/lib/croak/toke
new file mode 100644
index 0000000000..130659adf9
--- /dev/null
+++ b/t/lib/croak/toke
@@ -0,0 +1,5 @@
+__END__
+# NAME Missing name in "my sub"
+my sub;
+EXPECT
+Missing name in "my sub" at - line 1.