mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 04:39:22 +02:00
no message
This commit is contained in:
parent
3ef5e89682
commit
99f47575b4
19
tests/webtbs/tw3073.pp
Normal file
19
tests/webtbs/tw3073.pp
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ Source provided for Free Pascal Bug Report 3073 }
|
||||||
|
{ Submitted by "Martin Schreiber" on 2004-04-30 }
|
||||||
|
{ e-mail: }
|
||||||
|
program project1;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
uses
|
||||||
|
Classes;
|
||||||
|
var
|
||||||
|
po1,po2: pwidechar;
|
||||||
|
begin
|
||||||
|
po1:= 'abc';
|
||||||
|
po2:= po1+1;
|
||||||
|
if po2-po1<>1 then
|
||||||
|
halt(1);
|
||||||
|
if pwidechar(24)-pwidechar(22)<>1 then
|
||||||
|
halt(1);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user