aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
blob: 6c791d2e85df4afd5817c30db277a630c2464a7e (plain)
1
2
3
4
5
6
7
8
9
; Do not remove the invoke!
;
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output

int %test() {
	%A = invoke int %test() to label %Ret except label %Ret
Ret:
	ret int %A
}