diff --git a/test/Transforms/PruneEH/2003-09-14-ExternalCall.llx b/test/Transforms/PruneEH/2003-09-14-ExternalCall.llx new file mode 100644 index 00000000000..c42ddd228c4 --- /dev/null +++ b/test/Transforms/PruneEH/2003-09-14-ExternalCall.llx @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | 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 +}