florian hace 21 años
padre
commit
c67af8573f
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      tests/tbs/tb0476.pp

+ 6 - 1
tests/tbs/tb0476.pp

@@ -3,8 +3,13 @@ const
 
 procedure p(const p);
   begin
+    if pchar(@p)^<>'a' then
+      begin
+        writeln('error');
+        halt(1);
+      end;
   end;
 
 begin
   p(e[1]);
-end.
+end.