summaryrefslogtreecommitdiff
path: root/t/lib/Class/Load/Error/DieAfterIsa.pm
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-06-25 04:47:55 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-06-25 04:47:55 +0000
commit7e7ddbe33ca34359d711aee1e0ddebaeb40c2a18 (patch)
tree2a03e101e7b0302f5dcde62ed415a415ecca041d /t/lib/Class/Load/Error/DieAfterIsa.pm
downloadClass-Load-tarball-master.tar.gz
Diffstat (limited to 't/lib/Class/Load/Error/DieAfterIsa.pm')
-rw-r--r--t/lib/Class/Load/Error/DieAfterIsa.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/lib/Class/Load/Error/DieAfterIsa.pm b/t/lib/Class/Load/Error/DieAfterIsa.pm
new file mode 100644
index 0000000..0a021cd
--- /dev/null
+++ b/t/lib/Class/Load/Error/DieAfterIsa.pm
@@ -0,0 +1,14 @@
+package Class::Load::Error::DieAfterIsa;
+
+use strict;
+use warnings;
+
+# This library emulates a bug that can occur under App::Cmd,
+#
+# A broken library use's another library ( App::Cmd::Setup ), and that library
+# injects @ISA during import->()
+
+our @ISA = qw( UNIVERSAL );
+
+die "Not a syntax error";
+