blob: 1ee7e148e9c20b0b557cbe789250eea496b87dcc [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; 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
8implementation
9
10int %main() {
11 %A = or bool false, setlt (int* %A, int* %B) ; Which is lower in memory?
12 ret int 0
13}
14