Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git] / test / Transforms / SimplifyCFG / 2007-11-22-InvokeNoUnwind.ll
bloba20c46e1ad1f922e573eb53103f263f4b04b99a3
1 ; RUN: opt < %s -simplifycfg -S | not grep invoke
3 declare i32 @func(i8*) nounwind
5 define i32 @test() {
6         invoke i32 @func( i8* null )
7                         to label %Cont unwind label %Other              ; <i32>:1 [#uses=0]
9 Cont:           ; preds = %0
10         ret i32 0
12 Other:          ; preds = %0
13         ret i32 1