Explorar o código

* delphi allows callign convention in implementation

peter %!s(int64=23) %!d(string=hai) anos
pai
achega
1d747fc5d3
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      tests/tbs/tb0444.pp

+ 13 - 0
tests/tbs/tb0444.pp

@@ -0,0 +1,13 @@
+{$mode delphi}
+unit tb0444;
+interface
+
+function Trunc(const x : Single) : Integer;
+
+implementation
+
+function Trunc(const x : Single) : Integer;
 register;
+asm
+end;
+
+end.