Explorar el Código

+ testing operator overloading

mazen hace 23 años
padre
commit
6e42e8acf0
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  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.