mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 16:49:07 +02:00
* inline with type in implicit used unit
This commit is contained in:
parent
9dd45b5d65
commit
6fc687a44c
16
tests/test/tinline4.pp
Normal file
16
tests/test/tinline4.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
unit tinline4;
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
uses uinline4b;
|
||||||
|
|
||||||
|
procedure acall(a,b: longint); inline;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
procedure acall(a,b: longint); inline;
|
||||||
|
begin
|
||||||
|
libbase:=nil;
|
||||||
|
end;
|
||||||
|
|
||||||
|
end.
|
10
tests/test/uinline4a.pp
Normal file
10
tests/test/uinline4a.pp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
unit uinline4a;
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
type
|
||||||
|
aptrtype = pointer;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
end.
|
12
tests/test/uinline4b.pp
Normal file
12
tests/test/uinline4b.pp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
unit uinline4b;
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
uses uinline4a;
|
||||||
|
|
||||||
|
var
|
||||||
|
libbase : aptrtype;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user