Explorar o código

test for length(char) in const expr

pierre %!s(int64=27) %!d(string=hai) anos
pai
achega
cb9c63b467
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      tests/ts010020.pp

+ 10 - 0
tests/ts010020.pp

@@ -0,0 +1,10 @@
+{ test for const string that is a char }
+
+const
+    C ='D';
+    D = 'AD';
+    PP : string[length(D)] = D;
+    P : String[length(c)] = C;
+
+begin
+end.