Selaa lähdekoodia

* some special array constructor cases

peter 23 vuotta sitten
vanhempi
commit
420fb26f38
1 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
  1. 15 0
      tests/tbs/tb0436.pp

+ 15 - 0
tests/tbs/tb0436.pp

@@ -0,0 +1,15 @@
+{$mode objfpc}
+
+procedure pext(a:array of extended);
+begin
+end;
+
+procedure p(a:array of const);
+begin
+end;
+
+begin
+  p([0.0]);
+  p([pi]);
+  pext([0.0]);
+end.