Remove llvm-upgrade
[oota-llvm.git] / test / Assembler / 2002-03-08-NameCollision2.ll
1 ; RUN: llvm-as < %s -o /dev/null -f
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 }