summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
blob: dad9c7e70d6e22e983c250c68175b3e4a6bbfe59 (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
}