For PR1319:
[oota-llvm.git] / test / Transforms / SimplifyLibCalls / 2007-04-06-strchr-miscompile.ll
index 7c78355e6d2678172c958468f892c97f006c1303..5a56d24a35abe9a1ea0c7cee29159d235b880a81 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis > %t &&
-; RUN: grep '@str,.*i64 3' %t && 
-; RUN: grep '@str1,.*i64 7' %t &&
-; RUN: grep 'ret i8.*null' %t
 ; PR1307
+; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis > %t
+; RUN: grep {@str,.*i64 3} %t
+; RUN: grep {@str1,.*i64 7} %t
+; RUN: grep {ret i8.*null} %t
+; END.
 
 @str = internal constant [5 x i8] c"foog\00"
 @str1 = internal constant [8 x i8] c"blahhh!\00"