Browse Source

+ testing operator overloading

mazen 22 years ago
parent
commit
6e42e8acf0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/tbs/tb0441.pp

+ 10 - 0
tests/tbs/tb0441.pp

@@ -0,0 +1,10 @@
+program Test;
+operator :=(x:LongInt)RESULT:ShortString;
+  begin
+    Val(RESULT,x);
+  end;
+var
+  s:ShortString;
+begin
+  s:=12;
+end.