mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-18 10:32:14 +02:00
* some tests for identifier reusing
This commit is contained in:
parent
2a82f37c0b
commit
e1a81165ac
5
tests/tbf/tbf0342.pp
Normal file
5
tests/tbf/tbf0342.pp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
type
|
||||||
|
WORD=word;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
8
tests/tbf/tbf0343.pp
Normal file
8
tests/tbf/tbf0343.pp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
type
|
||||||
|
TListEntry = record
|
||||||
|
Next: ^TListEntry; (*<-- Error message here*)
|
||||||
|
Data: Integer;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
5
tests/tbf/tbf0345.pp
Normal file
5
tests/tbf/tbf0345.pp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
var
|
||||||
|
WORD : array[1..2] of word;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
6
tests/tbs/tbs0344.pp
Normal file
6
tests/tbs/tbs0344.pp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
var
|
||||||
|
r : record
|
||||||
|
word : array[1..2] of word;
|
||||||
|
end;
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user