mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:28:08 +02:00
19 lines
293 B
ObjectPascal
19 lines
293 B
ObjectPascal
{$mode objfpc}
|
|
{$B+}
|
|
uses
|
|
sysutils;
|
|
var
|
|
{ absolute means volatile, so the expression below cannot be optimized
|
|
and must cause a sig fault }
|
|
a : longint absolute 0;
|
|
begin
|
|
try
|
|
while true or (a=0) do
|
|
break;
|
|
except
|
|
writeln('ok');
|
|
halt(0);
|
|
end;
|
|
halt(1);
|
|
end.
|