The test, derived from optimzed IR, does not mention "bar" in debug info anywhere so the dwarf writer is not expected to emit any debug info for function "bar".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92499 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/DebugInfo/2009-12-01-CurrentFn.ll b/test/DebugInfo/2009-12-01-CurrentFn.ll
index 6fc538e..933f19b 100644
--- a/test/DebugInfo/2009-12-01-CurrentFn.ll
+++ b/test/DebugInfo/2009-12-01-CurrentFn.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s | grep "func_end1:" | count 1
+; RUN: llc < %s -o /dev/null
 ; XFAIL: powerpc-apple-darwin
 declare void @foo()