mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 04:38:02 +02:00
15 lines
184 B
ObjectPascal
15 lines
184 B
ObjectPascal
{$mode delphi}
|
|
type
|
|
tc = class
|
|
constructor create(const n: ansistring);
|
|
end;
|
|
|
|
constructor tc.create;
|
|
begin
|
|
if (n <> 'abc') then halt(1);
|
|
end;
|
|
|
|
begin
|
|
tc.create('abc');
|
|
end.
|