new testcase to verify that we have field sensitive alias analysis info. This
[oota-llvm.git] / test / Assembler / ConstantExprFoldCast.llx
index 38763a7306fb232348431818326740543ec8fc14..48394ddfab425604616a2b89111764a58b2e47fe 100644 (file)
@@ -1,9 +1,6 @@
 ; This test checks to make sure that constant exprs fold in some simple situations
 
-; RUN: if as < %s | dis | grep cast
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: llvm-as < %s | llvm-dis | not grep cast
 
 %A = global int* cast (sbyte* null to int*)  ; Cast null -> fold
 %B = global int** cast (int** %A to int**)   ; Cast to same type -> fold