d7d9481bee8b66ea91e56672140982be3fa15726
[oota-llvm.git] / test / ExecutionEngine / test-constantexpr.ll
1 ; RUN: llvm-as -f %s -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4 ; This tests to make sure that we can evaluate wierd constant expressions
5 %A = global int 5
6 %B = global int 6
7
8 implementation
9
10 int %main() {
11         %A = or bool false, setlt (int* %A, int* %B)  ; Which is lower in memory?
12         ret int 0
13 }
14