1 ; RUN: opt < %s -S -globalopt | FileCheck %s
3 @zero = internal global [10 x i32] zeroinitializer
5 define i32 @test1(i64 %idx) nounwind {
6 %arrayidx = getelementptr inbounds [10 x i32], [10 x i32]* @zero, i64 0, i64 %idx
7 %l = load i32, i32* %arrayidx