Hi,

the attached test fails. There is no newline at the end of the file.
I think that imcc is causing a memory leak due to this, I got error messages 
like:

"store_sub_in_namespace: sub '__new_class' namespace #1082752832 too 
big.namespace"

in a large program due to this bug. Please note the .namespace at the end of 
the error message, which is also printed by parrot when running this small 
test.

jens
use strict;

use Parrot::Test tests => 1;

my $CODE = '##PIR##
.sub _main
    print "ok\n"
    end
.end

#.namespace'; # no \n at end of file

output_is( $CODE, <<'OUTPUT', "end of line handling");
ok
OUTPUT

Reply via email to