fpc/tests/tbf/tb0002.pp
2000-12-03 21:50:07 +00:00

17 lines
252 B
ObjectPascal

{ %FAIL }
{ Old file: tbf0029.pp }
{ tests typeof(object type) OK 0.99.1 (FK) }
type
TA = object
end;
var
P: Pointer;
begin
{ must fail on compilation because
TA has no VMT }
P := pointer(TypeOf(TA));
end.