pierre 25 years ago
parent
commit
695f24d2bd
1 changed files with 16 additions and 0 deletions
  1. 16 0
      tests/webtbs/tbug932.pp

+ 16 - 0
tests/webtbs/tbug932.pp

@@ -0,0 +1,16 @@
+program test;
+
+{$ASMMODE Intel }
+
+procedure TestProc;
+const
+  TestConst: String = 'Test';
+begin
+  asm
+    mov edi, offset TestConst
+  end;
+end;
+
+begin
+  TestProc;
+end.