mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
11
test/Transforms/PruneEH/2003-09-14-ExternalCall.llx
Normal file
11
test/Transforms/PruneEH/2003-09-14-ExternalCall.llx
Normal file
@@ -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
|
||||||
|
}
|
Reference in New Issue
Block a user