mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Test for PR1224.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cf5574636
commit
98770d4ed2
12
test/CodeGen/Generic/2007-02-25-invoke.ll
Normal file
12
test/CodeGen/Generic/2007-02-25-invoke.ll
Normal file
@ -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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user