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

12 lines
210 B
Plaintext
Raw Normal View History

; 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
}