llvm-project/llvm/test/Transforms/PruneEH/2003-09-14-ExternalCall.llx

12 lines
210 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | opt -prune-eh | llvm-dis | grep invoke
declare void %External()
implementation
void %foo() {
invoke void %External() to label %Cont except label %Cont
Cont:
ret void
}