blob: 2668b93f4815a93ec8a9c5bc49d88b93bbed84f2 [file] [log] [blame]
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; This tests to make sure that we can evaluate weird constant expressions
@A = global i32 5 ; <ptr> [#uses=1]
define i32 @main() {
%A = or i1 false, ptrtoint (ptr @A to i1)
ret i32 0
}