#! parrot
# Copyright (C) 2006-2007, The Perl Foundation.
# $Id: /mirror/trunk/t/pmc/lexinfo.t 35424 2009-01-11T07:30:07.921292Z cotto  $

=head1 NAME

t/pmc/lexinfo.t - test LexInfo PMC


=head1 SYNOPSIS

    % prove t/pmc/lexinfo.t

=head1 DESCRIPTION

Tests the LexInfo PMC.

=cut

.sub main :main
    .include 'include/test_more.pir'
    plan(1)

    new_test()
.end

.sub new_test
    push_eh eh
    $P0 = new ['LexInfo']
    pop_eh
    ok(0, "shouldn't be able to create a LexInfo without an initializer")
    goto end
eh:
    ok(1, "can't create a LexInfo without an initializer")
end:
.end

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