summaryrefslogtreecommitdiff
path: root/t/op/misc.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-28 15:13:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-28 15:13:40 +0000
commit0b490c9cf3b42eb2e5ff3d67a31af1e39c211fe0 (patch)
treea09da18e9431939215fa5d3ce681fe15110e8b58 /t/op/misc.t
parent8452ff4b8049a7286a3a2f0c012eeb26d0a32e0a (diff)
downloadperl-0b490c9cf3b42eb2e5ff3d67a31af1e39c211fe0.tar.gz
Test case for 20010422.005, fixed by #10250.
p4raw-id: //depot/perl@10251
Diffstat (limited to 't/op/misc.t')
-rwxr-xr-xt/op/misc.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/op/misc.t b/t/op/misc.t
index e3927a3716..931e6b35c6 100755
--- a/t/op/misc.t
+++ b/t/op/misc.t
@@ -682,3 +682,10 @@ OK
"abcd\x{1234}" =~ /(a)(b[c])(d+)?/i and print "ok\n";
EXPECT
ok
+########
+# Bug 20010422.005
+{s//${}/; //}
+EXPECT
+syntax error at - line 2, near "${"
+syntax error at - line 2, near "//}"
+Execution of - aborted due to compilation errors.