brintos

brintos / llvm-project-archived public Read only

0
0
Text · 523 B · 109f195 Raw
17 lines · plain
1; RUN: llvm-as %s -o /dev/null2; RUN: verify-uselistorder %s3 4; Method arguments were being checked for collisions at the global scope before5; the method object was created by the parser.  Because of this, false6; collisions could occur that would cause the following error message to be7; 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 is12; created.13;14@X = global i32 4		; <ptr> [#uses=0]15 16declare i32 @xxx(ptr)17