{$ifdef windows}
  {$apptype gui}
{$endif}
program chelinfo_test;

{note: DON'T FORGET to compile your program with the -gw key
  Lazarus: you must type it in
    Project -> Compiler Options -> Other -> User parameters
}

uses
  Classes, SysUtils, un_lineinfo;

begin
  InitLineInfo(nil);
  byte(nil^):= 0; // go BOOM!
end.

