mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 15:59:35 +02:00
fcl-passrc: useanalyzer: clean up
git-svn-id: trunk@41482 -
This commit is contained in:
parent
7354b2c2e5
commit
cd247236ba
@ -2265,6 +2265,13 @@ end;
|
||||
|
||||
procedure TTestUseAnalyzer.TestWP_UnitInitialization;
|
||||
begin
|
||||
AddModuleWithIntfImplSrc('unit2.pp',
|
||||
LinesToStr([
|
||||
'var i: longint;',
|
||||
'']),
|
||||
LinesToStr([
|
||||
'']));
|
||||
|
||||
AddModuleWithIntfImplSrc('unit1.pp',
|
||||
LinesToStr([
|
||||
'uses unit2;',
|
||||
@ -2273,13 +2280,6 @@ begin
|
||||
'initialization',
|
||||
'i:=2;']));
|
||||
|
||||
AddModuleWithIntfImplSrc('unit2.pp',
|
||||
LinesToStr([
|
||||
'var i: longint;',
|
||||
'']),
|
||||
LinesToStr([
|
||||
'']));
|
||||
|
||||
StartProgram(true);
|
||||
Add('uses unit1;');
|
||||
Add('begin');
|
||||
|
Loading…
Reference in New Issue
Block a user