Explorar o código

* reported bugs

peter %!s(int64=25) %!d(string=hai) anos
pai
achega
09cebb518b
Modificáronse 2 ficheiros con 20 adicións e 0 borrados
  1. 12 0
      tests/webtbs/tw1295.pp
  2. 8 0
      tests/webtbs/tw1299.pp

+ 12 - 0
tests/webtbs/tw1295.pp

@@ -0,0 +1,12 @@
+USES DOS;
+var
+  d : longint;
+BEGIN
+   {$I-}
+   d:=DISKSIZE(1);
+   writeln(d);
+   WRITELN(IORESULT);
+   {$I+}
+   if d<>-1 then
+    halt(1);
+END.

+ 8 - 0
tests/webtbs/tw1299.pp

@@ -0,0 +1,8 @@
+{$mode fpc}
+
+{$IFDEF fpc}
+{$ELSE}
+'{'
+{$ENDIF}
+begin
+end.