Browse Source

+ added

git-svn-id: trunk@1889 -
Jonas Maebe 19 years ago
parent
commit
0cfea2fac0
2 changed files with 16 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 15 0
      tests/webtbs/tw4533.pp

+ 1 - 0
.gitattributes

@@ -6388,6 +6388,7 @@ tests/webtbs/tw4496.pp svneol=native#text/plain
 tests/webtbs/tw4519.pp -text svneol=unset#text/plain
 tests/webtbs/tw4520.pp -text svneol=unset#text/plain
 tests/webtbs/tw4529.pp -text svneol=unset#text/plain
+tests/webtbs/tw4533.pp svneol=native#text/plain
 tests/webtbs/tw4537.pp svneol=native#text/plain
 tests/webtbs/tw4540.pp -text svneol=unset#text/plain
 tests/webtbs/tw4557.pp svneol=native#text/plain

+ 15 - 0
tests/webtbs/tw4533.pp

@@ -0,0 +1,15 @@
+{$mode objfpc}
+{$openstrings+}
+procedure t(out s: shortstring);
+begin
+  writeln(high(s));
+  if high(s) <> 4 then
+    halt(1);
+end;
+
+var
+  s: string[4];
+begin
+  t(s);
+end.
+