Sfoglia il codice sorgente

* const to var not detected

peter 24 anni fa
parent
commit
d388f3ea46
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      tests/tbf/tb0106.pp

+ 13 - 0
tests/tbf/tb0106.pp

@@ -0,0 +1,13 @@
+{ %fail }
+
+procedure ld_var(var a);
+begin
+end;
+
+procedure ld_const(const b);
+begin
+  ld_var(b);
+end;
+
+begin
+end.