mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-13 12:57:47 +00:00
18 lines
237 B
LLVM
18 lines
237 B
LLVM
|
; RUN: as < %s | opt -cee
|
||
|
;
|
||
|
; This testcase causes an assertion error.
|
||
|
;
|
||
|
implementation ; Functions:
|
||
|
|
||
|
void %test(int %A) {
|
||
|
br label %bb2
|
||
|
bb2:
|
||
|
ret void
|
||
|
|
||
|
bb3: ; No predecessors!
|
||
|
br bool true, label %bb4, label %bb2
|
||
|
|
||
|
bb4:
|
||
|
ret void
|
||
|
}
|