Add an explicit test of the auto-upgrade functionality for the new
[oota-llvm.git] / test / Assembler / 2007-01-02-Undefined-Arg-Type.ll
index 8592a51927847517922a3c5006ff620edff1c140..a39de1cb6cba4fffeace3df3b14ba94b7937f6b2 100644 (file)
@@ -1,5 +1,5 @@
 ; 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 |& grep {use of undefined type named 'typedef.bc_struct'}
 
 ; %typedef.bc_struct = type opaque