forked from OSchip/llvm-project
13 lines
221 B
LLVM
13 lines
221 B
LLVM
|
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
|
||
|
; RUN: lli %t.bc > /dev/null
|
||
|
|
||
|
; test unconditional branch
|
||
|
int %main() {
|
||
|
br label %Test
|
||
|
Test:
|
||
|
%X = seteq int 0, 4
|
||
|
br bool %X, label %Test, label %Label
|
||
|
Label:
|
||
|
ret int 0
|
||
|
}
|