1 ; RUN: llvm-as < %s | opt -lowersetjmp | llvm-dis | grep invoke
4 %.str_1 = internal constant [13 x sbyte] c"returned %d\0A\00"
8 declare void %llvm.longjmp(%JmpBuf *%B, int %Val)
9 declare int %llvm.setjmp(%JmpBuf *%B)
15 %Val = call int %llvm.setjmp(%JmpBuf* %B)
16 %V = cast int %Val to bool
17 br bool %V, label %LongJumped, label %Normal
20 call void %llvm.longjmp(%JmpBuf* %B, int 42)
21 ret int 0 ;; not reached
26 declare int %printf(sbyte*, ...)
29 %V = call int %simpletest()
30 call int(sbyte*, ...)* %printf(sbyte* getelementptr ([13 x sbyte]* %.str_1, long 0, long 0), int %V)