1(* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)goto.p 8.1 (Berkeley) 06/06/93 8 *) 9 10 11program gototest(input, output); 12label 1; 13 14procedure A; 15begin 16 writeln('A'); 17 goto 1; 18end; 19 20procedure B; 21begin 22 writeln('B'); 23 A; 24end; 25 26begin 27 B; 281: 29 writeln('exiting'); 30end. 31