Home | History | Annotate | Download | only in Assembler
      1 ; RUN: llvm-as %s -o /dev/null
      2 ; RUN: verify-uselistorder %s
      3 
      4 ; Method arguments were being checked for collisions at the global scope before
      5 ; the method object was created by the parser.  Because of this, false
      6 ; collisions could occur that would cause the following error message to be
      7 ; produced:
      8 ;
      9 ;    Redefinition of value named 'X' in the 'int *' type plane!
     10 ;
     11 ; Fixed by delaying binding of variable names until _after_ the method symtab is
     12 ; created.
     13 ;
     14 @X = global i32 4		; <i32*> [#uses=0]
     15 
     16 declare i32 @xxx(i32*)
     17