fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
[llvm/avr.git] / test / CodeGen / Generic / 2004-02-08-UnwindSupport.ll
blob393062abf78e1ec01fee250a188153c929d738c2
1 ; RUN: llc < %s -enable-correct-eh-support
3 define i32 @test() {
4         unwind
7 define i32 @main() {
8         %X = invoke i32 @test( )
9                         to label %cont unwind label %EH         ; <i32> [#uses=0]
11 cont:           ; preds = %0
12         ret i32 1
14 EH:             ; preds = %0
15         ret i32 0