14 lines · plain
1; RUN: llvm-as %s -o /dev/null2; RUN: verify-uselistorder %s3 4; Another name collision problem. Here the problem was that if a forward5; declaration for a method was found, that this would cause spurious conflicts6; to be detected between locals and globals.7;8@Var = external global i32 ; <ptr> [#uses=0]9 10define void @foo() {11 %Var = alloca i32 ; <ptr> [#uses=0]12 ret void13}14