#!./parrot
# Copyright (C) 2010, Parrot Foundation.

=head1 NAME

t/pmc/addrinfo.t - test Addrinfo PMC

=head1 SYNOPSIS

    % prove t/pmc/addrinfo.t

=head1 DESCRIPTION

Tests the Addrinfo PMC.

=cut

.sub main :main
    .include 'test_more.pir'

    plan(1)

    $P0 = new ['Addrinfo']
    isa_ok($P0, 'Addrinfo')
.end

# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:

#!./parrot
# Copyright (C) 2010, Parrot Foundation.

=head1 NAME

t/pmc/addrinfo.t - test Addrinfo PMC

=head1 SYNOPSIS

    % prove t/pmc/addrinfo.t

=head1 DESCRIPTION

Tests the Addrinfo PMC.

=cut

.sub main :main
    .include 'test_more.pir'

    plan(2)
    test_new()
    test_clone()
.end

.sub test_new
    $P0 = new ['Addrinfo']
    isa_ok($P0, 'Addrinfo')
.end

.sub test_clone
    $P0 = new ['Addrinfo']
    $P2 = clone $P0
    isa_ok($P2, 'Addrinfo')
.end


# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:

Add a test for cloning an Addrinfo, which currently coredumps
[t] Add a test for cloning an Addrinfo, which currently coredumps
