Browse Source

* more bugs

peter 24 years ago
parent
commit
36e8a8a9b4
3 changed files with 21 additions and 1 deletions
  1. 1 1
      tests/tbs/tb0359.pp
  2. 12 0
      tests/tbs/tb0360.pp
  3. 8 0
      tests/tbs/tb0361.pp

+ 1 - 1
tests/tbs/tb0359.pp

@@ -7,7 +7,7 @@
 procedure printf(t:pchar);varargs;cdecl;external;
 
 begin
-  printf("Test %d",1);
+  printf('Test %d\n',1);
 {$else}
 begin
   writeln('Unix only test');

+ 12 - 0
tests/tbs/tb0360.pp

@@ -0,0 +1,12 @@
+{ %version=1.1 }
+
+{$mode delphi}
+
+type
+  e = (
+    PTRACE_SINGLESTEP = 9,
+    PT_STEP = PTRACE_SINGLESTEP
+  );
+
+begin
+end.

+ 8 - 0
tests/tbs/tb0361.pp

@@ -0,0 +1,8 @@
+type
+  e=(one,two,three);
+
+var
+  a : array[0..cardinal(two)+1] of byte;
+
+begin
+end.