fpc/tests/tbs/tb0715.pp
2024-07-20 13:46:06 +02:00

10 lines
195 B
ObjectPascal

var
e: (ab, abcd);
code: int32;
begin
val('ab'#4'd', e, code);
if code = 0 then writeln('matches ', e) else writeln('matches nothing, code ', code);
if code <> 3 then
halt(1);
end.