Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.5 kB
#! /usr/bin/env perl
# http://code.google.com/p/perl-compiler/issues/detail?id=46
use Test::More tests => 1;
use strict;
BEGIN {
unshift @INC, 't';
require "test.pl";
}
# crashes non-threaded pp_ctl.c:248 cLOGOP->op_first being 0
my $script = <<'EOF';
my $pattern = 'x'; 'foo' =~ /$pattern/o;
print "ok";
EOF
use B::CC;
ctestok(1, "CC", "ccode46i", $script,
(($Config{useithreads} or $B::CC::VERSION >= 1.08)
? "" : "TODO "). "issue46 m//o cLOGOP->op_first fixed with r610, threaded only");
Jump to Line
Something went wrong with that request. Please try again.