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