1 ; RUN: opt < %s -S -passes=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], ptr @zero, i64 0, i64 %idx
7 %l = load i32, ptr %arrayidx