summaryrefslogtreecommitdiff
path: root/dist/Carp/t/vivify_stash.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Carp/t/vivify_stash.t')
-rw-r--r--dist/Carp/t/vivify_stash.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/dist/Carp/t/vivify_stash.t b/dist/Carp/t/vivify_stash.t
new file mode 100644
index 0000000000..7906748a4f
--- /dev/null
+++ b/dist/Carp/t/vivify_stash.t
@@ -0,0 +1,9 @@
+BEGIN { print "1..1\n"; }
+
+our $has_utf8; BEGIN { $has_utf8 = exists($::{"utf8::"}); }
+
+use Carp;
+
+print !(exists($::{"utf8::"}) xor $has_utf8) ? "" : "not ", "ok 1\n";
+
+1;