forked from OSchip/llvm-project
New testcase that breaks the pruneeh pass
llvm-svn: 10162
This commit is contained in:
parent
4cc2cc5c58
commit
519900a36d
|
@ -0,0 +1,15 @@
|
|||
; RUN: llvm-as < %s | opt -prune-eh -disable-output
|
||||
|
||||
implementation
|
||||
|
||||
internal void %callee() { ; does not throw
|
||||
ret void
|
||||
}
|
||||
|
||||
int %caller() {
|
||||
invoke void %callee() to label %E except label %E
|
||||
|
||||
E:
|
||||
%X = phi int [0, %0], [0, %0]
|
||||
ret int %X
|
||||
}
|
Loading…
Reference in New Issue