mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 20:28:14 +02:00
14 lines
294 B
ObjectPascal
14 lines
294 B
ObjectPascal
{ %FAIL }
|
|
{ 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.
|