Explorar o código

* added new bug with typed record consts

peter %!s(int64=24) %!d(string=hai) anos
pai
achega
5dd24fa398
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      tests/tbf/tb0105.pp

+ 10 - 0
tests/tbf/tb0105.pp

@@ -0,0 +1,10 @@
+{ %fail }
+type
+  trec = record l1,l2,l3 : longint end;
+
+const
+  r: trec = (l2:5);
+
+begin
+end.
+