11 require_ok("B::Concise");
13 $out = runperl(switches => ["-MO=Concise"], prog => '$a', stderr => 1);
15 # If either of the next two tests fail, it probably means you need to
16 # fix the section labeled 'fragile kludge' in Concise.pm
18 ($op_base) = ($out =~ /^(\d+)\s*<0>\s*enter/m);
20 is($op_base, 1, "Smallest OP sequence number");
22 ($op_base_p1, $cop_base)
23 = ($out =~ /^(\d+)\s*<;>\s*nextstate\(main (-?\d+) /m);
25 is($op_base_p1, 2, "Second-smallest OP sequence number");
27 is($cop_base, 1, "Smallest COP sequence number");
29 # test that with -exec B::Concise navigates past logops (bug #18175)
32 switches => ["-MO=Concise,-exec"],
33 prog => q{$a//=$b && print q/foo/},
37 like($out, qr/print/, "-exec option with //=");