mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Fix testcase. For some reason this was failing only with a release build and
not with a debug build? Rather testrunner only caught it in that case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c76920a2ab
commit
f380445185
@ -6,14 +6,12 @@
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
|
||||
|
||||
declare void %bar()
|
||||
declare void %llvm.unwind()
|
||||
|
||||
int %test() {
|
||||
invoke void %bar() to label %Ok except label %Rethrow
|
||||
Ok:
|
||||
ret int 0
|
||||
Rethrow:
|
||||
call void %llvm.unwind()
|
||||
br label %Ok
|
||||
unwind
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user