summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/cast-malloc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/cast-malloc.ll')
-rw-r--r--test/Transforms/InstCombine/cast-malloc.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/cast-malloc.ll b/test/Transforms/InstCombine/cast-malloc.ll
index 3754032cc2..43a1489277 100644
--- a/test/Transforms/InstCombine/cast-malloc.ll
+++ b/test/Transforms/InstCombine/cast-malloc.ll
@@ -1,6 +1,6 @@
; test that casted mallocs get converted to malloc of the right type
; RUN: opt < %s -instcombine -S | \
-; RUN: not grep bitcast
+; RUN: grep bitcast | count 1
; The target datalayout is important for this test case. We have to tell
; instcombine that the ABI alignment for a long is 4-bytes, not 8, otherwise