mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:29:35 +02:00
* pchar=char failure
This commit is contained in:
parent
40bcae707d
commit
763eb6bafa
12
tests/tbs/tb0446.pp
Normal file
12
tests/tbs/tb0446.pp
Normal file
@ -0,0 +1,12 @@
|
||||
var
|
||||
a : array[0..9] of char;
|
||||
pc : pchar;
|
||||
begin
|
||||
a:='1';
|
||||
pc:=@a;
|
||||
if pc='1' then
|
||||
writeln('OK')
|
||||
else
|
||||
halt(1);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user