1 ; RUN: llvm-as < %s | opt -sccp | llvm-dis -o /dev/null -f &&
2 ; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep '%X'
4 @G = global [1000000 x i10000] zeroinitializer
6 define internal i10000* @test(i10000 %Arg) {
7 %X = getelementptr [1000000 x i10000]* @G, i32 0, i32 999
8 store i10000 %Arg, i10000* %X
12 define i10000 @caller()
14 %Y = call i10000* @test(i10000 -1)
19 define i10000 @caller2()
21 %Y = call i10000* @test(i10000 1)