llvm-6502/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
2003-06-28 23:23:34 +00:00

11 lines
183 B
LLVM

; RUN: as < %s | opt -sccp | dis | not grep '%X'
%G = uninitialized global [40x int]
implementation
int* %test() {
%X = getelementptr [40x int]* %G, uint 0, uint 0
ret int* %X
}