Browse Source

* Reverted file accidentally comitted in r16097

git-svn-id: branches/xpcom@16098 -
joost 15 years ago
parent
commit
784ed37895
1 changed files with 2 additions and 4 deletions
  1. 2 4
      tests/test/tsafecall1.pp

+ 2 - 4
tests/test/tsafecall1.pp

@@ -1,16 +1,14 @@
-program test;
 { %TARGET=win32,win64,wince}
 {$ifdef fpc}
 {$mode objfpc}
 {$endif}
 uses
-  SysUtils,classes;
+  SysUtils;
 type
-  TTest = class(TComponent)
+  TTest = class
   public
     procedure SomeError; safecall;
     function SafeCallException(ExceptObject: TObject; ExceptAddr: Pointer): HResult; override;
-    procedure QueryInterface(constref IID: TGUID; out Obj): Hresult; override; cdecl;
   end;
 
 var