Emit gcov data files to the directory specified in the metadata produced by the
[llvm/stm8.git] / test / Assembler / 2002-03-08-NameCollision2.ll
blob1f7a4e16f8b3f62bba19c0ecaf79cd9442dcfe6e
1 ; RUN: llvm-as %s -o /dev/null
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.
7 @Var = external global i32              ; <i32*> [#uses=0]
9 define void @foo() {
10         %Var = alloca i32               ; <i32*> [#uses=0]
11         ret void