llvm-ar: Clean up memory management with OwningPtr.
[oota-llvm.git] / test / Verifier / aliasing-chain.ll
index a52e796b2b86f61ecd3c35cf400e2530ae9ce8e7..ae0b77fdc395eecd72eea4fc2948efa4fdb5d33c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN:  not llvm-as %s -o /dev/null 2>&1 | grep "Aliasing chain should end with function or global variable"
-
+; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; CHECK: Aliasing chain should end with function or global variable
 ; Test that alising chain does not create a cycle
 
 @b1 = alias i32* @c1