mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 14:39:24 +02:00
+ needs library
git-svn-id: trunk@11011 -
This commit is contained in:
parent
d955c9b4f7
commit
38df5b4eae
@ -1,4 +1,5 @@
|
|||||||
{ %opt=-gl }
|
{ %opt=-gl }
|
||||||
|
{ %needlibrary }
|
||||||
{$goto on}
|
{$goto on}
|
||||||
|
|
||||||
{ test lineinfo in libraries }
|
{ test lineinfo in libraries }
|
||||||
@ -30,7 +31,7 @@ w:
|
|||||||
GetLineInfo(PtrUInt(@w),s1,s2,l);
|
GetLineInfo(PtrUInt(@w),s1,s2,l);
|
||||||
writeln({ 'Func: ',s1,'} 'Source: ',s2,' Line: ',l);
|
writeln({ 'Func: ',s1,'} 'Source: ',s2,' Line: ',l);
|
||||||
{ GetLineInfo of dwarf doesn't return the function name }
|
{ GetLineInfo of dwarf doesn't return the function name }
|
||||||
if { (s1<>'P') or } (s2<>'tlib1.pp') or (l<>19) then
|
if { (s1<>'P') or } (s2<>'tlib1.pp') or (l<>20) then
|
||||||
halt(1);
|
halt(1);
|
||||||
|
|
||||||
writeln('ok');
|
writeln('ok');
|
||||||
|
Loading…
Reference in New Issue
Block a user