Prechádzať zdrojové kódy

test for length(char) in const expr

pierre 27 rokov pred
rodič
commit
cb9c63b467
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  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.