Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
[oota-llvm.git] / test / ExecutionEngine / test-constantexpr.ll
1 ; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4 ; This tests to make sure that we can evaluate weird 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