diff options
Diffstat (limited to 't/Context.pm')
-rw-r--r-- | t/Context.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/Context.pm b/t/Context.pm new file mode 100644 index 0000000..83cd5bb --- /dev/null +++ b/t/Context.pm @@ -0,0 +1,12 @@ +package t::Context; + +{ use 5.006; } +use warnings; +use strict; + +our $VERSION = 1; + +die "t::Context sees array context at file scope" if wantarray; +die "t::Context sees void context at file scope" unless defined wantarray; + +"t::Context return"; |