Browse Source

*** empty log message ***

florian 25 years ago
parent
commit
a3fe5e74cf
1 changed files with 17 additions and 0 deletions
  1. 17 0
      tests/webtbs/tbug893.pp

+ 17 - 0
tests/webtbs/tbug893.pp

@@ -0,0 +1,17 @@
+{$asmmode intel}
+type
+    BugObject = object
+       Fld: word;
+       procedure WontCompile;
+    end;
+
+procedure BugObject.WontCompile;
+begin
+  asm
+    xor ax, ax
+    mov fld, ax
+  end;
+end;
+
+begin
+end.