blob: 82a4cf4b939a7f797f2006bb3d169a4477ddee44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ %FAIL }
{ In non-Delphi modes unsupported types like TextFile are not allowed inside
records and objects - case 2 }
program tdefault7;
type
TTestObject = object
f: TextFile;
end;
var
tobj: TTestObject;
begin
tobj := Default(TTestObject);
end.
|