summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/op/pat.t14
1 files changed, 11 insertions, 3 deletions
diff --git a/t/op/pat.t b/t/op/pat.t
index 2d862732fe..a82da60e72 100755
--- a/t/op/pat.t
+++ b/t/op/pat.t
@@ -4,7 +4,7 @@
# the format supported by op/regexp.t. If you want to add a test
# that does fit that format, add it to op/re_tests, not here.
-print "1..580\n";
+print "1..581\n";
BEGIN {
chdir 't' if -d 't';
@@ -1238,8 +1238,6 @@ print "ok 247\n";
{
# bug id 20001008.001
- use utf8; # BUG - should not be needed, but is, otherwise core dump
-
my $test = 248;
my @x = ("stra\337e 138","stra\337e 138");
for (@x) {
@@ -1537,3 +1535,13 @@ print "ok 247\n";
for (576..580) { print "not ok $_\n" }
}
}
+
+{
+ # bug id 20010306.008
+
+ $a = "a\x{1234}";
+ # The original bug report had 'no utf8' here but that was irrelevant.
+ $a =~ m/\w/; # used to core dump
+
+ print "ok 581\n";
+}