fpc/tests/tbf/tb20.pp
2000-11-29 23:14:10 +00:00

13 lines
284 B
ObjectPascal

{ Old file: tbf0109.pp }
{ syntax error not detected when using a set as pointer OK 0.99.1 (FK) }
Type T = (aa,bb,cc,dd,ee,ff,gg,hh);
Tset = set of t;
Var a: Tset;
Begin
If (aa in a^) Then begin end;
{it seems that correct code is generated, but the syntax is wrong}
End.