New testcase
[oota-llvm.git] / test / Assembler / 2002-03-08-NameCollision.ll
1 ; Method arguments were being checked for collisions at the global scope before
2 ; the method object was created by the parser.  Because of this, false collisions
3 ; could occur that would cause the following error message to be produced:
4 ;
5 ;    Redefinition of value named 'X' in the 'int *' type plane!
6 ;
7 ; Fixed by delaying binding of variable names until _after_ the method symtab is
8 ; created.
9 ;
10
11 %X = global int 4
12
13 declare int "xxx"(int * %X)
14
15 implementation
16