Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git] / test / Transforms / SimplifyCFG / 2003-08-05-MishandleInvoke.ll
blob15cd7730449ee3bd6be7a7f5d93c261cf0d8b3ae
1 ; Do not remove the invoke!
3 ; RUN: opt < %s -simplifycfg -S | grep invoke
5 define i32 @test() {
6         invoke i32 @test( )
7                         to label %Ret unwind label %Ret         ; <i32>:1 [#uses=0]
8 Ret:            ; preds = %0, %0
9         %A = add i32 0, 1               ; <i32> [#uses=1]
10         ret i32 %A