blob: d6d90e3e1982c1438763f4b44ce5e5467eb5f997 [file] [log] [blame]
Daniel Dunbar9589bf82010-11-13 00:28:01 +00001; RUN: lli %s > /dev/null
Tanya Lattner2acf9b02004-11-06 23:32:43 +00002
Chris Lattner60042062005-02-27 06:14:21 +00003; This tests to make sure that we can evaluate weird constant expressions
Chris Lattner34c7cee2003-08-24 19:23:31 +00004
Tanya Lattner5f4b3552008-03-10 07:21:50 +00005@A = global i32 5 ; <i32*> [#uses=1]
6@B = global i32 6 ; <i32*> [#uses=1]
Chris Lattner34c7cee2003-08-24 19:23:31 +00007
Tanya Lattner5f4b3552008-03-10 07:21:50 +00008define i32 @main() {
9 %A = or i1 false, icmp slt (i32* @A, i32* @B) ; <i1> [#uses=0]
10 ret i32 0
Chris Lattner34c7cee2003-08-24 19:23:31 +000011}
12