@@ -0,0 +1,12 @@
+type
+ TA = object
+ end;
+
+var
+ P: Pointer;
+begin
+ { must fail on compilation because
+ TA has no VMT }
+ P := pointer(TypeOf(TA));
+end.
@@ -1,7 +1,9 @@
{ this program need GPM !! }
+{$ifdef linux}
uses
Gpm;
+{$endif def linux}
var
Conn: TGPMConnect;
@@ -25,4 +27,7 @@ begin
end;
GPM_Close;
+{$else def linux}
end.
@@ -1,7 +1,17 @@
type
TA = object
+ constructor init;
+ procedure test;virtual;
+ constructor TA.init;
+ begin
+ procedure TA.test;
P: Pointer;