aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
blob: 1d1b1f702deb2983df98a077a0d70b549943316a (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep '%X'

%G = uninitialized global [40x int]

implementation

int* %test() {
	%X = getelementptr [40x int]* %G, uint 0, uint 0
	ret int* %X
}