summaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-15 02:22:35 +0000
committerChris Lattner <sabre@nondot.org>2003-09-15 02:22:35 +0000
commitf6ba6555d32d53a2822e8421250cf8f8e095c606 (patch)
tree759ffcd10558ec275daae3eff661833a66830148 /test/Transforms/PruneEH
parente07007c2bd0dcb775ff3eecabb4c31ce8dc5fab0 (diff)
downloadllvm-f6ba6555d32d53a2822e8421250cf8f8e095c606.tar.gz
llvm-f6ba6555d32d53a2822e8421250cf8f8e095c606.tar.bz2
llvm-f6ba6555d32d53a2822e8421250cf8f8e095c606.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/PruneEH')
-rw-r--r--test/Transforms/PruneEH/2003-09-14-ExternalCall.llx11
1 files changed, 11 insertions, 0 deletions
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 0000000000..c42ddd228c
--- /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
+}