; This is a test case for the expression analysis code, not really indvars. ; It was assuming any constant of int type was a ConstantInteger. ; ; RUN: llvm-as < %s | opt -indvars @X = global i32 7 ; [#uses=1] define void @test(i32 %A) { ;