2
0
peter 26 жил өмнө
parent
commit
429cc55711
3 өөрчлөгдсөн 20 нэмэгдсэн , 1 устгасан
  1. 13 0
      bugs/bug0285.pp
  2. 5 0
      bugs/bug0286.pp
  3. 2 1
      bugs/readme.txt

+ 13 - 0
bugs/bug0285.pp

@@ -0,0 +1,13 @@
+{$asmmode intel}
+
+TYPE something = RECORD big:LONGINT; small:BYTE; END;
+
+FUNCTION typesize:INTEGER; ASSEMBLER;
+ASM
+     MOV EAX, TYPE something
+END;
+
+BEGIN
+  writeln(typesize);
+END.
+

+ 5 - 0
bugs/bug0286.pp

@@ -0,0 +1,5 @@
+var
+  c : char;
+begin
+  c:=#$08d;
+end.

+ 2 - 1
bugs/readme.txt

@@ -371,6 +371,7 @@ bug0275.pp   too many warnings
 bug0277.pp   typecasting with const not possible
 bug0279.pp   crash with ansistring and new(^ansistring)
 bug0281.pp   dup id checking with property is wrong
-bug0282.pp   long mangledname problem with -Aas
 bug0283.pp   wrong file position with dup id in other unit
 bug0284.pp   bug in constant char comparison evaluation
+bug0285.pp   Asm, TYPE not support in intel mode
+bug0286.pp   #$08d not allowed as Char constant