Source

perl-XML-LibXML / t / 18docfree.t

Full commit
use Test;
BEGIN { plan tests => 1 }
use XML::LibXML;

{
  my $doc = XML::LibXML::Document->new();
  $doc = XML::LibXML::Document->new();
}
# used to get "Attempt to free unreferenced scalar" here
ok(1);