fpc/tests/tbf0029.pp
1999-01-18 15:39:35 +00:00

13 lines
147 B
ObjectPascal

type
TA = object
end;
var
P: Pointer;
begin
{ must fail on compilation because
TA has no VMT }
P := pointer(TypeOf(TA));
end.