diff options
Diffstat (limited to 'test/Transforms/GlobalDCE/basicvariabletest.ll')
| -rw-r--r-- | test/Transforms/GlobalDCE/basicvariabletest.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/GlobalDCE/basicvariabletest.ll b/test/Transforms/GlobalDCE/basicvariabletest.ll index a97b66de2c634..ae8ce3f7fd066 100644 --- a/test/Transforms/GlobalDCE/basicvariabletest.ll +++ b/test/Transforms/GlobalDCE/basicvariabletest.ll @@ -1,5 +1,6 @@ -; RUN: opt < %s -globaldce -S | not grep global +; RUN: opt < %s -passes=globaldce -S | FileCheck %s +; CHECK-NOT: global @X = external global i32 @Y = internal global i32 7 |
