Browse Source

+ needs library

git-svn-id: trunk@11011 -
florian 17 years ago
parent
commit
38df5b4eae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/test/tlib1.pp

+ 2 - 1
tests/test/tlib1.pp

@@ -1,4 +1,5 @@
 { %opt=-gl }
+{ %needlibrary }
 {$goto on}
 
 { test lineinfo in libraries }
@@ -30,7 +31,7 @@ w:
   GetLineInfo(PtrUInt(@w),s1,s2,l);
   writeln({ 'Func: ',s1,'} 'Source: ',s2,' Line: ',l);
   { 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);
   
   writeln('ok');