Explorar el Código

* added 0355 subranges problem

marco hace 25 años
padre
commit
3a805733d1
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      tests/tbs/tbs0355.pp

+ 17 - 0
tests/tbs/tbs0355.pp

@@ -0,0 +1,17 @@
+{MvdV; published in core.
+    Element that is in the type zz too is not recognised as such.
+    }
+
+type xx=(notinsubset1,insubset1,insubset2,notinsubset2);
+     zz=insubset1..insubset2;
+
+     ll=record
+         yy:zz;
+         end;
+
+const oo : array[0..1] of ll = (
+                                  (yy:insubset1),
+                                  (yy:insubset2));
+begin
+end.
+