The #10251 wasn't quite up-to-the-code.
[p5sagit/p5-mst-13.2.git] / t / op / misc.t
index 885fad4..9248930 100755 (executable)
@@ -661,6 +661,11 @@ new_pmop "abcdef"; reset;
 close STDERR; die;
 EXPECT
 ########
+-w
+"x" =~ /(\G?x)?/;      # core dump in 20000716.007
+EXPECT
+Quantifier unexpected on zero-length expression in regex; marked by <-- HERE in m/(\G?x)? <-- HERE / at - line 2.
+########
 # Bug 20010515.004
 my @h = 1 .. 10;
 bad(@h);
@@ -672,3 +677,14 @@ sub bad {
 }
 EXPECT
 OK
+########
+# Bug 20010506.041
+"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 "${}"
+Execution of - aborted due to compilation errors.