InstCombine: fix fold "fcmp x, undef" to account for NaN
[oota-llvm.git] / test / Assembler / 2002-03-08-NameCollision2.ll
1 ; RUN: llvm-as %s -o /dev/null
2 ; RUN: verify-uselistorder %s
3
4 ; Another name collision problem.  Here the problem was that if a forward
5 ; declaration for a method was found, that this would cause spurious conflicts
6 ; to be detected between locals and globals.
7 ;
8 @Var = external global i32              ; <i32*> [#uses=0]
9
10 define void @foo() {
11         %Var = alloca i32               ; <i32*> [#uses=0]
12         ret void
13 }