Browse Source

test for length(char) in const expr

pierre 27 years ago
parent
commit
cb9c63b467
1 changed files with 10 additions and 0 deletions
  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.