mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 00:35:27 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c38eaf695
commit
54bda7e66d
20
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
Normal file
20
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
Normal file
@ -0,0 +1,20 @@
|
||||
; RUN: as < %s | opt -adce -disable-output
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
void %test() {
|
||||
br bool false, label %then, label %endif
|
||||
|
||||
then:
|
||||
invoke void null( sbyte* null )
|
||||
to label %invoke_cont except label %invoke_catch
|
||||
|
||||
invoke_catch:
|
||||
unwind
|
||||
|
||||
invoke_cont:
|
||||
ret void
|
||||
|
||||
endif:
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user