diff options
Diffstat (limited to 'test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll')
-rw-r--r-- | test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll b/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll new file mode 100644 index 0000000..59e7d0c --- /dev/null +++ b/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc +; PR4317 + +declare i32 @b() + +define void @a() { +entry: + ret void + +dummy: + invoke i32 @b() to label %reg unwind label %reg + +reg: + ret void +} |