diff options
Diffstat (limited to 'llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll')
| -rw-r--r-- | llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll b/llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll index 57ed72a93dc..a923eb34412 100644 --- a/llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll +++ b/llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll @@ -1,10 +1,7 @@ ; Make sure that functions are removed successfully if they are referred to by ; a global that is dead. Make sure any globals they refer to die as well. -; RUN: if as < %s | opt -globaldce | dis | grep foo -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -globaldce | dis | not grep foo %b = internal global int ()* %foo ;; Unused, kills %foo |

