* some tests for identifier reusing

This commit is contained in:
peter 2000-08-16 18:38:46 +00:00
parent 2a82f37c0b
commit e1a81165ac
4 changed files with 24 additions and 0 deletions

5
tests/tbf/tbf0342.pp Normal file
View File

@ -0,0 +1,5 @@
type
WORD=word;
begin
end.

8
tests/tbf/tbf0343.pp Normal file
View 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
View File

@ -0,0 +1,5 @@
var
WORD : array[1..2] of word;
begin
end.

6
tests/tbs/tbs0344.pp Normal file
View File

@ -0,0 +1,6 @@
var
r : record
word : array[1..2] of word;
end;
begin
end.