Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[oota-llvm.git] / test / Transforms / SCCP / 2004-11-16-DeadInvoke.ll
1 ; RUN: opt < %s -sccp -disable-output
2
3 declare i32 @foo()
4
5 define void @caller() {
6         br i1 true, label %T, label %F
7 F:              ; preds = %0
8         %X = invoke i32 @foo( )
9                         to label %T unwind label %T             ; <i32> [#uses=0]
10 T:              ; preds = %F, %F, %0
11         ret void
12 }
13