mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 05:29:34 +02:00
no message
This commit is contained in:
parent
ac7f9351f0
commit
741f42c3b0
17
tests/test/tobject4.pp
Normal file
17
tests/test/tobject4.pp
Normal file
@ -0,0 +1,17 @@
|
||||
{$mode objfpc}
|
||||
type
|
||||
to1 = class
|
||||
a1 : array[0..100] of byte;
|
||||
s1 : ansistring;
|
||||
a2 : array[0..100] of byte;
|
||||
s2 : ansistring;
|
||||
s3 : ansistring;
|
||||
end;
|
||||
|
||||
var
|
||||
o1 : to1;
|
||||
|
||||
begin
|
||||
o1:=to1.create;
|
||||
o1.destroy;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user