1 # Copyright (C) 2001-2008, The Perl Foundation.
6 examples/pir/local_label.pir - Local labels
10 % ./parrot examples/pir/local_label.pir
14 Show the use of a C<.label> label.
19 print "Branching to '$ok' in macro 'TEST1'\n"
23 print "Branched to '$ok' in macro 'TEST1'\n"
28 print "Branching to '$ok' in macro 'TEST2'\n"
32 print "Branched to '$ok' in macro 'TEST2'\n"
38 print "After .TEST1 ()\n"
40 print "After .TEST2 ()\n"
43 print "Branched to 'non_local' in sub 'example'\n"
51 # vim: expandtab shiftwidth=4 ft=pir: