summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-constantexpr.ll
blob: ce723f916f90dd19a44b13f39bd5921eace71f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
; This tests to make sure that we can evaluate wierd constant expressions
%A = global int 5
%B = global int 6

implementation

int %main() {
	%A = or bool false, setlt (int* %A, int* %B)  ; Which is lower in memory?
	ret int 0
}