#!perl
# Copyright (C) 2006-2007, The Perl Foundation.
# $Id: lexinfo.t 20923 2007-08-30 19:15:00Z chromatic $
use strict;
use warnings;
use lib qw( . lib ../lib ../../lib );
use Test::More;
use Parrot::Test tests => 1;
=head1 NAME
t/pmc/lexinfo.t - test LexInfo PMC
=head1 SYNOPSIS
% prove t/pmc/lexinfo.t
=head1 DESCRIPTION
Tests the LexInfo PMC.
=cut
pir_error_output_like( <<'CODE', <<'OUT', 'new' );
.sub 'test' :main
new P0, 'LexInfo'
print "ok 1\n"
.end
CODE
/Cannot create a LexInfo PMC without an initializer
current instr\.:.*/
OUT
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4:
syntax highlighted by Code2HTML, v. 0.9.1