Remove explicit control flow through the use of the 'not' script

llvm-svn: 6965
diff --git a/llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll b/llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
index c171b18..01da6dc 100644
--- a/llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
+++ b/llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
@@ -1,7 +1,5 @@
-; RUN: if as < %s | opt -funcresolve | dis | grep declare
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve | dis | not grep declare
+
 %Table = constant int(...)* %foo
 
 %Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]