Browse Source

* New test verifying that Internal Error 2013032603 no longer occurs for "Str"

J. Gareth "Curious Kit" Moreton 3 months ago
parent
commit
f8f7867198
1 changed files with 9 additions and 0 deletions
  1. 9 0
      tests/webtbf/tw41249.pp

+ 9 - 0
tests/webtbf/tw41249.pp

@@ -0,0 +1,9 @@
+{ %FAIL }
+program tw41249;
+var
+  c: Char;
+  s: string;
+
+begin
+  Str(c, s); // Ensure a compiler error occurs and not Internal error 2013032603
+end.