summaryrefslogtreecommitdiffstats
path: root/t/lib
diff options
context:
space:
mode:
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/Error1.pm14
-rw-r--r--t/lib/Error2.pm14
2 files changed, 28 insertions, 0 deletions
diff --git a/t/lib/Error1.pm b/t/lib/Error1.pm
new file mode 100644
index 0000000..eb2d62a
--- /dev/null
+++ b/t/lib/Error1.pm
@@ -0,0 +1,14 @@
+package Error1;
+use strict;
+use warnings;
+
+use Try;
+
+try {
+}
+catch {
+}
+finallyy {
+}
+
+1;
diff --git a/t/lib/Error2.pm b/t/lib/Error2.pm
new file mode 100644
index 0000000..242bdc6
--- /dev/null
+++ b/t/lib/Error2.pm
@@ -0,0 +1,14 @@
+package Error2;
+use strict;
+use warnings;
+
+use Try;
+
+try {
+}
+finally {
+}
+catch {
+}
+
+1;