mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-10 06:47:26 +01:00
+ 182
This commit is contained in:
parent
977b677877
commit
defda2181e
14
bugs/bug0182.pp
Normal file
14
bugs/bug0182.pp
Normal file
@ -0,0 +1,14 @@
|
||||
TYPE Rec = RECORD
|
||||
x:WORD;
|
||||
y:WORD;
|
||||
END;
|
||||
|
||||
VAR s:WORD;
|
||||
r:Rec;
|
||||
|
||||
CONST p1:POINTER = @s; { Works fine }
|
||||
p2:POINTER = @R.x; { illegal expression }
|
||||
|
||||
BEGIN
|
||||
END.
|
||||
|
||||
@ -233,3 +233,6 @@ bug0152.pp End value of loop variable must be calculated before loop
|
||||
bug0163.pp missing <= and >= operators for sets.
|
||||
bug0169.pp missing new(type) support for not object/class
|
||||
bug0171.pp missing typecasting in constant expressions
|
||||
bug0182.pp @record.field doesn't work in constant expr
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user