florian 25 лет назад
Родитель
Сommit
a3fe5e74cf
1 измененных файлов с 17 добавлено и 0 удалено
  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.