diff options
Diffstat (limited to 'llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll')
| -rw-r--r-- | llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll b/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll index 49a87d90230..3da0fd5f14b 100644 --- a/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll +++ b/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll @@ -1,8 +1,9 @@ ; 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: opt < %s -globaldce -S | not grep foo +; RUN: opt < %s -globaldce -S | FileCheck %s +; CHECK-NOT: foo ;; Unused, kills %foo @b = internal global i32 ()* @foo ; <i32 ()**> [#uses=0] |

