Browse Source

no message

florian 25 years ago
parent
commit
446fcc0162
2 changed files with 11 additions and 0 deletions
  1. 3 0
      tests/test/readme.txt
  2. 8 0
      tests/test/testrstr.pp

+ 3 - 0
tests/test/readme.txt

@@ -36,3 +36,6 @@ Inline ................ inline01.pp    tests recursive inlining, inlining
                                        a procedure multiple times and
                                        a procedure multiple times and
                                        inlining procedures in other
                                        inlining procedures in other
                                        inline procedures.
                                        inline procedures.
+Finalize .............. testfi1.pp     tests the procedure system.finalize
+TypeInfo .............. testti1.pp     test the function system.typeinfo
+Resourcestrings ....... testrstr.pp    tests a simple resource string

+ 8 - 0
tests/test/testrstr.pp

@@ -0,0 +1,8 @@
+{$mode objfpc}
+resourcestring
+  s = 'Hello world';
+
+begin
+   if s<>'Hello world' then
+     halt(1);
+end.