summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/charnames/alias10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/lib/charnames/alias b/t/lib/charnames/alias
index 07bc68f80e..56b294edba 100644
--- a/t/lib/charnames/alias
+++ b/t/lib/charnames/alias
@@ -288,3 +288,13 @@ use charnames ":alias" => ":xyzzy";
EXPECT
OPTIONS regex
$
+########
+# charnames with no import still works for runtime functions
+use warnings;
+no warnings 'void';
+use charnames ();
+charnames::vianame('SPACE');
+charnames::viacode(0x41);
+EXPECT
+OPTIONS regex
+$