mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 10:20:21 +02:00
test for length(char) in const expr
This commit is contained in:
parent
da09fad8f9
commit
cb9c63b467
10
tests/ts010020.pp
Normal file
10
tests/ts010020.pp
Normal file
@ -0,0 +1,10 @@
|
||||
{ test for const string that is a char }
|
||||
|
||||
const
|
||||
C ='D';
|
||||
D = 'AD';
|
||||
PP : string[length(D)] = D;
|
||||
P : String[length(c)] = C;
|
||||
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user