summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-branch.ll
blob: 3f08ecc4d5ccae3d9f904eb57c17588193e4daad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as -f %s -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
}