Browse Source

* pchar=char failure

peter 22 years ago
parent
commit
763eb6bafa
1 changed files with 12 additions and 0 deletions
  1. 12 0
      tests/tbs/tb0446.pp

+ 12 - 0
tests/tbs/tb0446.pp

@@ -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.
+