summaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll')
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll b/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
index 93f851c..8066596 100644
--- a/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
+++ b/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
@@ -1,5 +1,6 @@
-; RUN: opt < %s -simplifycfg -S | \
-; RUN: not grep switch
+; RUN: opt < %s -simplifycfg -S | FileCheck %s
+
+; CHECK-NOT: switch
; Test normal folding
define i32 @test1() {