Fix [RT#66098] -- stricter checking on SvIVX exposed a lack of SvIOK check
[p5sagit/p5-mst-13.2.git] / t / op / reg_unsafe.t
CommitLineData
a229a030 1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6
7}
8print "1..1\n";
9
10# there is an equivelent test in t/op/pat.t which does NOT fail
11# its not clear why it doesnt fail, so this todo gets its own test
12# file until we can work it out.
13
14my $x;
15($x='abc')=~/(abc)/g;
16$x='123';
17
18print "not " if $1 ne 'abc';
19print "ok 1 # TODO safe match vars make /g slow\n";