Renamed intermediate values that used the same type and name as previous
[oota-llvm.git] / test / Assembler / 2002-03-08-NameCollision2.ll
1 ; Another name collision problem.  Here the problem was that if a forward 
2 ; declaration for a method was found, that this would cause spurious conflicts
3 ; to be detected between locals and globals.
4 ;
5 %Var = uninitialized global int
6
7 declare void "foo"()
8
9 implementation
10
11 void "foo"()
12 begin
13         %Var = alloca int  ; Conflict with global var
14         ret void
15 end
16