summaryrefslogtreecommitdiff
path: root/t/lib/croak/toke
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/croak/toke')
-rw-r--r--t/lib/croak/toke6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/lib/croak/toke b/t/lib/croak/toke
index 8e4b0338a3..90204526a3 100644
--- a/t/lib/croak/toke
+++ b/t/lib/croak/toke
@@ -9,6 +9,12 @@ eval "s//<<foo/e"; die $@
EXPECT
Can't find string terminator "foo" anywhere before EOF at (eval 1) line 1.
########
+# NAME /\N{/
+/\N{/
+EXPECT
+Missing right brace on \N{} or unescaped left brace after \N at - line 1, within pattern
+Execution of -e aborted due to compilation errors.
+########
# NAME Missing name in "my sub"
use feature 'lexical_subs'; my sub;
EXPECT