summaryrefslogtreecommitdiff
path: root/t/lib/deprecate
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/deprecate')
-rw-r--r--t/lib/deprecate/Deprecated.pm7
-rw-r--r--t/lib/deprecate/Optionally.pm7
2 files changed, 14 insertions, 0 deletions
diff --git a/t/lib/deprecate/Deprecated.pm b/t/lib/deprecate/Deprecated.pm
new file mode 100644
index 0000000000..5eb1220516
--- /dev/null
+++ b/t/lib/deprecate/Deprecated.pm
@@ -0,0 +1,7 @@
+package Deprecated;
+use strict;
+
+use deprecate;
+
+q(Harmless);
+
diff --git a/t/lib/deprecate/Optionally.pm b/t/lib/deprecate/Optionally.pm
new file mode 100644
index 0000000000..1e24542a22
--- /dev/null
+++ b/t/lib/deprecate/Optionally.pm
@@ -0,0 +1,7 @@
+package Optionally::Deprecated;
+use strict;
+
+use if $] >= 5.011, 'deprecate';
+
+q(Mostly harmless);
+