1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
Chris Lattner 45773bd686 new testcase for PR635
llvm-svn: 23615
2005-10-03 23:42:54 +00:00

14 lines
215 B
LLVM

; RUN: llvm-as < %s | opt -simplifycfg -disable-output
bool %foo() {
%X = invoke bool %foo() to label %N unwind label %F
F:
ret bool false
N:
br bool %X, label %A, label %B
A:
ret bool true
B:
ret bool true
}