summaryrefslogtreecommitdiff
path: root/test/Transforms/ConstProp/float-to-ptr-cast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ConstProp/float-to-ptr-cast.ll')
-rw-r--r--test/Transforms/ConstProp/float-to-ptr-cast.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ConstProp/float-to-ptr-cast.ll b/test/Transforms/ConstProp/float-to-ptr-cast.ll
index f5201defb5..239b7482bf 100644
--- a/test/Transforms/ConstProp/float-to-ptr-cast.ll
+++ b/test/Transforms/ConstProp/float-to-ptr-cast.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | \
-; RUN: grep -F {ret i32* null} | wc -l | grep 2
+; RUN: grep -F {ret i32* null} | count 2
int* %test1() {
%X = cast float 0.0 to int*