tb0372.pp 457 B

1234567891011121314151617181920212223
  1. { %VERSION=1.1 }
  2. {$ifdef fpc}{$mode objfpc}{$endif}
  3. {$J+}
  4. type
  5. imyinterface = interface
  6. // this program isn't supposed to run so the guid doesn't matter }
  7. ['{00000000-0000-0000-0000-000000000000}']
  8. procedure p;
  9. end;
  10. const
  11. iid_imyinterface = imyinterface;
  12. iid2 : tguid = '{00000000-0000-0000-0000-000000000000}';
  13. var
  14. g : tguid;
  15. begin
  16. g:=imyinterface;
  17. g:=iid_imyinterface;
  18. g:=iid2;
  19. iid2:=iid_imyinterface;
  20. end.