aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
blob: 1577685717b00a6f3d2b6db4d2fa7e974c6561ff (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-upgrade < %s | llvm-as | 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
}