3 # Copyright (C) 2007, The Perl Foundation.
8 use lib qw(t . lib ../lib ../../lib ../../../lib);
9 use Parrot::Test tests => 3;
12 language_output_like( 'PIR_PGE', <<'CODE', qr/Parse successful!/, 'globalconst' );
15 .globalconst int x = 42
16 .globalconst num pi = 3.14
17 .globalconst string hi = "hello"
22 language_output_like( 'PIR_PGE', <<'CODE', qr/Parse successful!/, 'namespace' );
33 language_output_like( 'PIR_PGE', <<'CODE', qr/Parse successful!/, 'const' );
38 .const string hi = "hello"