blob: 1ee7e148e9c20b0b557cbe789250eea496b87dcc [file] [log] [blame]
Reid Spencerb60528b2006-12-19 19:55:17 +00001; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
Tanya Lattnere9789ef2004-11-06 23:32:43 +00002; RUN: lli %t.bc > /dev/null
3
Chris Lattner47b72fb2005-02-27 06:14:21 +00004; This tests to make sure that we can evaluate weird constant expressions
Chris Lattnerf687ada2003-08-24 19:23:31 +00005%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