Home | History | Annotate | Download | only in Assembler
      1 ; RUN: llvm-as %s -o /dev/null
      2 
      3 ; Another name collision problem.  Here the problem was that if a forward
      4 ; declaration for a method was found, that this would cause spurious conflicts
      5 ; to be detected between locals and globals.
      6 ;
      7 @Var = external global i32		; <i32*> [#uses=0]
      8 
      9 define void @foo() {
     10 	%Var = alloca i32		; <i32*> [#uses=0]
     11 	ret void
     12 }
     13