projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf5574
)
Test for PR1224.
author
Jim Laskey
<jlaskey@mac.com>
Sun, 25 Feb 2007 21:43:21 +0000
(21:43 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Sun, 25 Feb 2007 21:43:21 +0000
(21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34609
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/Generic/2007-02-25-invoke.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/Generic/2007-02-25-invoke.ll
b/test/CodeGen/Generic/2007-02-25-invoke.ll
new file mode 100644
(file)
index 0000000..
6dba99e
--- /dev/null
+++ b/
test/CodeGen/Generic/2007-02-25-invoke.ll
@@ -0,0
+1,12
@@
+; RUN: llvm-as < %s | llc
+
+; PR1224
+
+declare i32 @test()
+define i32 @test2() {
+ %A = invoke i32 @test() to label %invcont unwind label %blat
+invcont:
+ ret i32 %A
+blat:
+ ret i32 0
+}