summaryrefslogtreecommitdiff
path: root/t/op/pat.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-30 20:15:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-30 20:15:46 +0000
commitb91bb1919d51f97d154a1292cac13a1895baa54b (patch)
treed537d2e93d2da23d3395c476e0d8012348235ac6 /t/op/pat.t
parent69984a9127db5733a065f93bcbd8024b6c1630db (diff)
downloadperl-b91bb1919d51f97d154a1292cac13a1895baa54b.tar.gz
Add a test case for 20000731.001 which was fixed by the #8267.
p4raw-id: //depot/perl@8273
Diffstat (limited to 't/op/pat.t')
-rwxr-xr-xt/op/pat.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/op/pat.t b/t/op/pat.t
index aaec39d259..f9f33eb37f 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..230\n";
+print "1..233\n";
BEGIN {
chdir 't' if -d 't';
@@ -1122,3 +1122,10 @@ $test++;
print "not " unless undef =~ /^([^\/]*)(.*)$/;
print "ok $test\n";
$test++;
+
+# bugid 20000731.001
+
+print "not " unless "A \x{263a} B z C" =~ /A . B (??{ "z" }) C/;
+print "ok $test\n";
+$test++;
+