Move a DenseMap's declaration outside of a loop, and just call
[oota-llvm.git] / test / Assembler / 2007-01-02-Undefined-Arg-Type.ll
index 10eb96443ca4bcb805c09f285f73dc6672c487d0..9521b43897c7f681a31588857f8b4a0330c495eb 100644 (file)
@@ -1,9 +1,8 @@
 ; The assembler should catch an undefined argument type .
-; RUN: llvm-as < %s -o /dev/null -f 2>&1 | grep "Reference to abstract argument"
+; RUN: not llvm-as %s -o /dev/null -f |& grep {Reference to abstract argument}
 
 ; %typedef.bc_struct = type opaque
 
-implementation   ; Functions:
 
 define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
        ret i1 true