Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: nqp-p6
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.4 kb
#!./parrot
# Copyright (C) 2011, Parrot Foundation.
# load our Foo test (pseudo) language
# it defines one PMC type "Foo"
.HLL "Fool"
.loadlib "foo_group"
.sub main :main
.include 'test_more.pir'
plan(1)
new $P1, 'Foo' # load by index
$I1 = $P1
is($I1, 42, '.HLL 2')
.end
# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
Jump to Line
Something went wrong with that request. Please try again.