fpc/tests/webtbf/tw3930a.pp
Jonas Maebe ac585ea201 * fixed test according to Kylix behaviour (which means current
FPC behaviour is wrong)

git-svn-id: trunk@6851 -
2007-03-14 18:27:01 +00:00

26 lines
289 B
ObjectPascal

{ %fail }
{ Gives under Kylix:
tw3930a.pp(22) Error: Incompatible types: 'TMyStringList' and 'TStringList'
}
{$ifdef fpc}
{$mode objfpc}
{$endif}
uses
Classes;
type
TMyStringList = type TStringlist;
var
list : TMyStringList;
begin
list:=TMyStringList.Create;
end.