fpc/tests/test/tcptypedconst3.pp
paul 2fe59a676a merge r17435 from cpstrnew branch by michael:
* Tests for typed constants

git-svn-id: trunk@19110 -
2011-09-17 13:22:16 +00:00

11 lines
181 B
ObjectPascal

{$codepage cp866}
program tcptypedconst3;
const
c : Char = '£';//= #163
begin
writeln(Ord(c));
if (Ord(c) <> 163) then begin
writeln('error');
Halt(1);
end;
end.