mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 19:09:27 +02:00
* make NativeInt and NativeUInt unique types, resolves #29444
git-svn-id: trunk@33234 -
This commit is contained in:
parent
feb15f08b3
commit
bb1f2b8062
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -14962,6 +14962,7 @@ tests/webtbs/tw2942a.pp svneol=native#text/plain
|
|||||||
tests/webtbs/tw2942b.pp svneol=native#text/plain
|
tests/webtbs/tw2942b.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw2943.pp svneol=native#text/plain
|
tests/webtbs/tw2943.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw2944.pp svneol=native#text/plain
|
tests/webtbs/tw2944.pp svneol=native#text/plain
|
||||||
|
tests/webtbs/tw29444.pp svneol=native#text/pascal
|
||||||
tests/webtbs/tw2946.pp svneol=native#text/plain
|
tests/webtbs/tw2946.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw29471.pp svneol=native#text/plain
|
tests/webtbs/tw29471.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw2949.pp svneol=native#text/plain
|
tests/webtbs/tw2949.pp svneol=native#text/plain
|
||||||
|
@ -433,8 +433,8 @@ Type
|
|||||||
used in the FPC RTL. Note that on i8086 their size changes between 16-bit
|
used in the FPC RTL. Note that on i8086 their size changes between 16-bit
|
||||||
and 32-bit according to the memory model, so they're not really a 'native
|
and 32-bit according to the memory model, so they're not really a 'native
|
||||||
int' type there at all. }
|
int' type there at all. }
|
||||||
NativeInt = PtrInt;
|
NativeInt = Type PtrInt;
|
||||||
NativeUInt = PtrUInt;
|
NativeUInt = Type PtrUInt;
|
||||||
|
|
||||||
Int8 = ShortInt;
|
Int8 = ShortInt;
|
||||||
Int16 = SmallInt;
|
Int16 = SmallInt;
|
||||||
|
16
tests/webtbs/tw29444.pp
Normal file
16
tests/webtbs/tw29444.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{$mode delphi}
|
||||||
|
|
||||||
|
procedure proc(a: Integer); overload;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure proc(a : NativeInt); overload;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user