home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p11
/
tst
/
goto1.pcat
< prev
next >
Wrap
Text File
|
2006-03-05
|
335b
|
25 lines
(* This routine tests IRgoto, IRlabel, IRgotoiEQ *)
program is
var f: boolean := false;
t: boolean := true;
begin
if t then
write ("OK 1");
else
write ("ERROR 1");
end;
if f then
write ("ERROR 2");
else
write ("OK 2");
end;
if f=f then
write ("OK 3");
else
write ("ERROR 3");
end;
end;